COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: intrepid402 on 29 Apr 2013 03:53:16 PM

Title: Performance on conditional blocks.
Post by: intrepid402 on 29 Apr 2013 03:53:16 PM
Hi
Just a curious question. Which approach usually gives better performance in displaying data? Conditional Blocks or to display data based on 'Render variable' in properties?

Any previous experiences or thoughts will be much appreciated!

Thank you.
Title: Re: Performance on conditional blocks.
Post by: cognostechie on 29 Apr 2013 04:01:56 PM
Render Variable. Reason -  It will only execute the query that is needed based on a certain condition returns true. Render Variables can also be used with different pages in the report.
Title: Re: Performance on conditional blocks.
Post by: intrepid402 on 29 Apr 2013 04:12:40 PM
Thanks Cognostechie,
That really helped. Also, Which would have a better performance? 5 lists on one single page or, 3 lists in one and 2 in another? i.e. Does adding pages affect the performance?


Thank you!
Title: Re: Performance on conditional blocks.
Post by: cognostechie on 29 Apr 2013 04:39:24 PM
Pages will have no impact on performance. It's the number of queries that will have impact on performance. The idea behind a Render Variable is to stop queries from being executed that are not required based on a selection criteria.