BusinessObjects Board

ZABO - Multiple DPs Multiple Prompts Performance

We are using ZABO version 5.1.3 and testing with 5.1.6, both have the same problem. When you have a report with multiple data providers and multiple prompts, it takes a LONG time for the prompt dialog box to come up! :sleeping: We have a report with 7 data providers and 7 prompts, it takes 50 seconds for the prompt dialog box to appear in Full Client and 3 minutes in ZABO.

Anyone have the same thing happening to them?

Anyone have any suggestions?

Please tell me it isnā€™t just Roadway!!

Thanks!


Sandy Brotje (BOB member since 2002-07-24)


jp.golay :switzerland: (BOB member since 2002-06-17)

Yes, some of the prompt have LOVs. But we donā€™t have any LOVs that are marked to do the Automatic refresh before use.

Good question. Any more suggestions? Please :smiley:


Sandy Brotje (BOB member since 2002-07-24)

Yes I did! :yesnod: .

Sandy, bear with me. I want to look at this one step at a time. Also keep in mind Iā€™m at home on ā€˜vacationā€™ with no software and no notes on the things I found. This all happened around the time the listserv died so the thread wasnā€™t ever completed. Difficult to get the messages out. Neverthelessā€¦

Do something for me. Open the report in full client (a fresh copy from corporate documents). Refresh it. Watch the bottom of the screen when you hit refresh. Do you see ā€˜Updatingā€™ā€¦, ā€˜Updatingā€¦ā€™, ā€˜Updatingā€¦ā€™, over and over againā€¦ If so, run the report to completion. Hit refresh againā€¦faster this time huh? :yesnod:. Weā€™ll work on that in a minute.

Tell me whether you have one or more repositories and whether you have moved this document between domains.


Cindy Clayton :us: (BOB member since 2002-06-11)

Tell me what your user settings in Supervisor look like.

Also tell me what the universe looks like. How many contexts, etc.


Steve Krandel :us: (BOB member since 2002-06-25)

Gosh it is nice to have you all back from the conference!

OK, I have my work cut out for me. Iā€™ll look over everything you asked about during lunch and get all of the answers.

Thank you both so much! Our users are ready to 1) leave the tool or 2) go back to version 4!! ( I looked for a hysterical icon, but couldnā€™t find one!)

Details will follow!

:smiley:


Sandy Brotje (BOB member since 2002-07-24)

oh and I also want to know if you see

connectingā€¦updatingā€¦
connectingā€¦updatingā€¦
connectingā€¦updatingā€¦

across the bottom when you refresh. It would appear once for each data provider. Iā€™m so glad this is coming back up!!!


Cindy Clayton :us: (BOB member since 2002-06-11)

OK, Cindyā€™s questions first:

I retrieved the report from Corp. Doc, and hit the refresh button. I saw Updating Dataā€¦ 7 times (one for each data provider I would guess) and just before the prompt dialog box opened I saw Connecting flash by. I clicked OK and then I saw Analyzing, Updating Data and finally Last Exec. These 7 data providers run pretty quickly - less than 30 sec each.

I ran the report about 3 times and every time it took the same amount of time to bring up the prompt dialog box. It never got faster. (I only retrieved from corp. docs the first time.)

We have 3 domains - Development, Test and Production. We only put our documents in the Production domain. So, no, it has never been moved between domains. It may have moved between groups in the same domain.

Steveā€™s questions:

Not sure what you are looking for in Supervisor, but here goes. Let me know if I missed what you are after.

  • The problem is the same for us (Supervisor/Designers) as for the Business Users (they have BusinessObjects and WebIntelligence modules in the Configuration tab).
  • The report is in only 1 group in only 1 domain.
  • Not sure what to say about user settings. Are you looking for something specific?

Designer (The 7 data providers use the same universe.):

  • The universe has 6 contexts.
  • 56 Tables (8 used in the report)
  • 3 aggregate tables - so we use aggregate aware
  • 1,438 objects
  • 50 joins
  • This universe has been around since the beginning - March 1998. It has been exported to all 3 domains many times. It has been revised 429 times! (Whoa! Weā€™ve been busy!)
  • In case it matters, we have a naming convention for the universes /domains, so we do a Save as before it gets exported to the next domain. It goes like this D_UnvName for Development domain. Do a File | Save as and change the name to T_UnvName, export to Test domain. Do a File |Save as and change the name to UnvName and export to Production domain.

What else can I tell you?


Sandy Brotje (BOB member since 2002-07-24)

Iā€™m talking about Enable Offline login and Enable Realtime User Rights update.

The first one should be on and the second should be off. Those can slow you down.

Is it only this one report that has this problem.

I would try manually pointing each data provider to the universe to make sure it isnā€™t swapping universes on you. That takes time. Point and save and see what happens. You Save As technique should be OK, but perhaps we have a universe ID problem.


Steve Krandel :us: (BOB member since 2002-06-25)

I checked Supervisor. We have both turned on. We could turn off Enable Realtime User Rights, and I donā€™t think anyone would complain. I tried a little experiment - in full client and in ZABO. I changed it so that the setting was off, and it didnā€™t make any difference in the time to bring up the prompt box. But, if it did, it still doesnā€™t explain why it takes less than a minutes in Full Client and 3 minutes in ZABO. :confused:

This is our only standard report with 7 data providers, but the vast majority have 2 -4 and it takes then longer to bring up the prompt box in ZABO than in Full Client.

Thanks.


Sandy Brotje (BOB member since 2002-07-24)

Iā€™m not surprised about updating data 7 timesā€¦once for each dp. Iā€™m shocked :blue: though that after you ran it to completion, the prompts didnā€™t display immediately. So did you hit refresh, run it, donā€™t close but immediately refresh again?

I want to know what color your ā€˜Do not regenerate sqlā€™ permission is. Iā€™d like for it to be Orange. Be sure to check it for every group youā€™re in before saying it is green. If you find an instance of Orange, that will win and weā€™ll know it is regenerating but donā€™t claim green unless youā€™re absolutely sure. If you donā€™t look carefully, the green may be overridden somewhere. I know that sounds backwards because youā€™d think regenerating the sql would be a bad thing but that wasnā€™t my experience in my studies.

I also agree with what Steve said about physically pointing your reports to the proper data provider. Rather than using the ā€¦ button, Iā€™d like for you to use the save and close methodā€¦alternatively, Iā€™ll let you use the ā€¦ but I want you to run it afterwards.

Unfortunately Iā€™m going to be out of commission for a while so I may not get back into this thread for some time. Iā€™ve done a little spreadsheet on how the ā€˜Do not regenerateā€™ and pointing reports to the proper data provider and Steveā€™s thoughts on ā€˜enable offline loginā€™ impacted my report performance (I did validate Steveā€™s findings in my own situation!). Iā€™ve sent it out to a handful of people so if you read this and have it, please send it to Sandy. If you donā€™t get it or resolve your problem by Tuesday the 29th, shoot me an email at home and Iā€™ll get you a copy. I wonā€™t have access to it until then.


Cindy Clayton :us: (BOB member since 2002-06-11)

Yes, that is what I did. I retrieved it, hit refresh, it ran. Then, I hit the refresh button again, without closing and opening the report.

OK. Iā€™ll look into all of this carefully. Andreas sent me the spreadsheet so I can do the same testing you did and document my results.

Think I get the DUH! award hereā€¦ save and close method? :confused: What do you mean?

Thanks - Iā€™ve got some work to do! Stay tunedā€¦


Sandy Brotje (BOB member since 2002-07-24)

Update? Were you orange?

You can point a data provider using the ā€¦ button but Iā€™ve had speed problems unless I subsequently RAN the dp. You said that your first refresh was slow and the second was as well. That wasnā€™t the case with mine. If I ā€¦ changed then RAN the report, the prompts appeared immediately on the subsequent refresh. Thatā€™s why I wanna know if youā€™re orange. I hope to see the prompts immediately on the second refresh when youā€™re orange.

If you ā€˜save and closeā€™ it was the equivalent of a ā€¦ change with a refresh. Save and close isā€¦

go look at the data provider and hit the ā€˜save and closeā€™ button.

Make sense? :yesnod:


Cindy Clayton :us: (BOB member since 2002-06-11)

My problem isnā€™t with a data provider not refreshing quickly, itā€™s the document itself. The current document refreshes the data and brings back approximately 46,271 rows in about two minutes. Not bad, but there are an additional three minutes before you actually see the data updated on the screen.

The report is fairly complex. There are 37 results objects and a very complex condition statement (full of or connectors). It has 66 variables that uses If then Else statements as well as 12 grouped variables. All of which must calculate before you see the data update. There are 18 report tabs in this document and clicking between each one can take up to 18 minutes to see the data.

My burning question is there any way to speed the performance of this report when moving between tabs and/or updating variables without having to take a ā€œcoffeeā€ break!


Lisa Rose :us: (BOB member since 2002-08-28)

I am afraid the more complex the document is (local report variables, linked data providers) the longer it will take to display the actual results.

Since linking of data providers and calculating of report variables is done on the client PC more memory and a faster processor on the PC running this report would help.

So besides upgrading hardware the only recommendation I have would be to review the report variables and see if some of them are really needed etc.

Also, if you included graphics/images on a report that will usually slow you down as well (you might want to turn off page layout under menu View| Page Layout).

One more thing would to review complex filters and/or alerters as well.


Andreas :de: (BOB member since 2002-06-20)

You might also check out Dave Rathbunā€™s Variables and More Variables presentations from the various International User Conferences. Look at Integraā€™s web site: http://www.integrasolutions.net/

One big mistake is to use formulas rather than variables. Every time you change a formula, instead of replacing, you create a new one. So you may have many unnecessary formulas that were works-in-progress, but which may be slowing down your report because each has to be calculated, even if it is not used.

So ā€“ check through your formulas and variables, and get rid of any that are not needed ā€“ and, where feasible, change your formulas to variables, so that if you ever change them, they donā€™t multiply!


Anita Craig :us: (BOB member since 2002-06-17)

Sometimes I try to take shots at the data. Rather than pull 47K rows I might try to run multiple queries that target the specific data I need and eliminate the necessity for some of the ifā€¦thenā€¦elseing. I also have the totally unsubstantianted, purely subjective impression that grouping is slower than the alternative (if, then, else). Have you considered doing some decoding or case statements or adding tables to provide the groups you need?


Cindy Clayton :us: (BOB member since 2002-06-11)

:wah: I created a test account so I could control everything. I tried being all green, then all orange, then a mix, then all ā€œblankā€ or inherited. I didnā€™t get any changes in time. It consistently took 52 seconds to bring up the prompt box. (I did it the way we were doing it. I opened the report, hit refresh (52"), ran the report, hit refresh again (52") and ran the report.)

After I made the changes in Supervisor, I hit the refresh button, then I did a login as because I was already in the Business Objects module. It is my understanding that I would get the changes. I shouldnā€™t have to log off of Supervisor too, should I?

BTW, I also have Enable Realtime User Rights update unchecked, or turned off.

Cindy, I really appreciate your help on this!

Can you think of anything else to try?

Thanks,


Sandy Brotje (BOB member since 2002-07-24)

So your test account was in only one group right? When you said ā€˜all greenā€™ and ā€˜all orangeā€™ what did you mean? I really only care right now that the ā€˜Do not regenā€™ reporter setting is green or orange. If your account is in only one group weā€™ll know that green is green is green. If it is more, there could be conflicting settings so I donā€™t believe you :wink: unless I see it for myself.

You said Andreas sent my spreadsheet right? From that you can see that we had a definite decrease in prompt display time with a smart report (one that had been run once against itā€™s universe or with dpā€™s that had been saved and closed to make it ā€˜smartā€™) but only when the ā€˜Do not regenā€™ was orange. This is hard to do from memory and from home :slight_smile: A smart report doesnā€™t do the ā€˜updatingā€¦updatingā€¦updatingā€™ once for each data provider.

Thatā€™s fine. Youā€™re right that you wouldnā€™t need to shut down Stuporvisor. Iā€™m not concerned about the realtime setting. Youā€™re logging into reporter again. Mail me your phone number and we can do a 15 minute call tomorrow morning if you want.


Cindy Clayton :us: (BOB member since 2002-06-11)

This may also be of interest to people with speed issues.


Cindy Clayton :us: (BOB member since 2002-06-11)