Optimizing Web Intelligence reports with multiple Need4Viz components

Anonymised summary of support ticket #567695 (2023-11-21)

Symptom

Slow opening of a Web Intelligence document containing multiple Need4Viz components (graphs, dynamic tables) without data refresh, taking up to 2 minutes.

Environment

SAP BusinessObjects Web Intelligence (Webi) with Need4Viz (N4V) extensions, client-server architecture. Observed on multiple user workstations with Chrome/Edge/Firefox browsers.

Resolution

  1. Analyze the root cause by monitoring server and client resources during report opening:
  2. - On the server: Check CPU/memory usage of Webi processing services (e.g., WIReportServer, node.exe) to identify server-side bottlenecks.
  3. - On the client: Monitor browser (Chrome/Edge/Firefox) CPU/memory usage to detect client-side overload.
  4. Optimize the report by reducing data volume processed by Webi:
  5. - Pre-aggregate data in the universe or ETL layer to minimize the number of records processed by Webi for each Need4Viz component.
  6. - Avoid using large datasets (e.g., millions of records) directly in Webi variables or queries for Need4Viz components. Instead, use pre-aggregated tables.
  7. - Remove unnecessary queries or filters that increase data volume without adding value.
  8. - Consider implementing a Data Warehouse (DW) to centralize and pre-process aggregated data for dashboards.

Other resolution

Need4Viz components (graphs, dynamic tables) receive all data from Webi at once, unlike Webi's native pagination. This can overload the browser if too many components are displayed on a single page with large datasets.