Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Slow formula

Status
Not open for further replies.

huytonscouser

Programmer
Oct 14, 2011
88
US
I have cr11

and I have this formula :-



evaluateafter({@Create cluster});

global stringvar clustergroup;

global stringvar currenthostorhbaalias;



if "Orphan" in {@Get current hostorhba} and clustergroup <> ""
then uppercase({@Get current hostorhba}) + " Possible Host(s) = " + clustergroup
//



else if "Orphan" in {@Get current hostorhba} and clustergroup = ""
and not(isnull({SRMARRAYDEVICE.SHAREDOBJECTLIST}))
then uppercase({@Get current hostorhba}) + " Possible Host(s) "
+ {SRMARRAYDEVICE.SHAREDOBJECTLIST}





else ({@Get current hostorhba})





I recently added the "else if" logic to add SRMARRAYDEVICE.SHAREDOBJECTLIST if not null.



This is causing a large slowdown for the report run time. Used to be ~10 mins, now about ~70 mins.



Only thing i can determine is that SRMARRAYDEVICE.SHAREDOBJECTLIST has a database type of String[4000]



not sure what to try.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top