COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: pkrishnaq on 04 Apr 2013 01:57:54 PM

Title: Macros and memory consumption
Post by: pkrishnaq on 04 Apr 2013 01:57:54 PM
Greetings Cognos brothers,
Do Macros in Cognos consume a lot of memory? I have couple of macros defined in the framework manager and it is taking an awful long time to run the reports.

Is anyone aware of macros and their memory consumption?

Thanks in advance ;D
Title: Re: Macros and memory consumption
Post by: cognostechie on 04 Apr 2013 05:11:09 PM
That depends on the macro. Ex: If it is a macro that simply provides a value in the filter then it will not consume any additional memory as compares to hard coding the value in the filter. Macros is Cognos basically re-write the SQL before the SQL is sent to the DB so in most cases, they should not consume more memory and actually they can improve performance in some cases.