Checking master data loading performance of connections

When data is loaded or refreshed, the associated connections are executed in parallel by default. This is a great feature because it dramatically reduces the total loading time of the dashboard.

To check the loading state of all your connections, it is a good practice to create a custom debug mode that lets you monitor how the connections are performing.

Getting ready

Use a dashboard with multiple connections.

How to do it…

  1. Add a Spreadsheet Table component to the canvas.
  2. Set up the spreadsheet as shown in the following screenshot:
    How to do it…
  3. Go to the Data Manager and select the Usage tab. Here you'll find a section called Load Status. For each connection, bind the Insert In field to the corresponding spreadsheet cell.
    How to do it…
  4. Bind the Spreadsheet Table component to the spreadsheet area.
  5. Publish and Launch the dashboard and see what happens while the connections are executed.
    How to do it…

You can use Dynamic Visibility to make the Spreadsheet Table component appear and disappear when required. Read Chapter 4, Dynamic Visibility, to learn more about this feature.

There's more…

As we have seen in the Using the SAP NetWeaver BW Connection recipe in Chapter 8, Dashboard Data Connectivity, we can use the same BEx query that provides the transaction data (the result set) to load the master data values. These master data values are mostly used to fill up the labels of selection components. A connection with such a setup has, of course, a longer execution time, since more data has to be loaded.

If you are using only one of the connections to load the master data values for multiple characteristics, this connection could slow down the overall loading performance in case of a lot of available master data. A solution would be to divide the loading of the master data values over multiple connections. Let's say you need to load all values for the characteristics, calendar year, country, and project into your dashboard spreadsheet, to fill the labels for three selection components. You also have multiple connections in the Data Manager that all use the same dataset as a source. You then could load the calendar year values from connection 1, the values for country from connection 2, and the values for project from connection 3.

Note

Make sure that the connection that you use can functionally deliver the same master data values. This is, for example, the case when they have the same source and they have the same master data value settings defined in the BEx Query.

You could even consider creating a specific, separate connection for the loading of (a part of the) master data values.

Tip

Experiment with different scenarios to find out which setup gives the best overall performance results.

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

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