Using scheduled Webis to save on querying time

As mentioned in Chapter 8, Dashboard Data Connectivity, being able to schedule Web Intelligence (Webi) reports instead of running live queries for each and every query will help improve performance drastically.

Let's take an example where it takes two minutes to execute a query. If we were to have the dataset prescheduled instead of running live, we could retrieve the data in seconds rather than minutes.

There will be people who complain that your database architecture or query strategy is incorrect if it takes two minutes to execute a query. However, a lot of times it is impossible to speed up a query due to the sheer size of data or the amount of work it would take to re-architect the entire data warehouse.

Getting ready

Create a Webi document. In our example, we will create a simple Webi from the eFashion Universe that contains a crosstab with months as columns and stores as rows. Also, make sure that you have a Live Office connection as well as a BI Web Services connection created based on the Webi document.

How to do it…

  1. Create a schedule for your Webi to execute from BI Launchpad. In our example, we will have the Webi refresh daily at 8 a.m.
    How to do it…
  2. In the Live Office connection, modify the properties so that we refresh based on the latest instance.
    How to do it…
  3. On the BI Web Services connection from the Data Manager, set the getFromLatestDocumentInstance property to 1.
    How to do it…

Note

When you test the BI Web Service, the boolean properties work based on TRUE/FALSE. However, in the SAP BusinessObjects Dashboards Data Manager, you need to use 1/0, otherwise it will not work.

How it works…

As you can see, all we need to do to use scheduled Webis is to first schedule the Webi document, and then set the refresh on the latest instance properties of either your Live Office or BI Web Services connection to true.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset