Question
Accenture
IN
Last activity: 15 Jun 2020 8:26 EDT
How we can improve the performance of Report Definition(RD)?
How we can improve the performance of Report Definition (RD)?
Thanks,
***Edited by Moderator Marissa to update Platform Capability tags****
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
FR
Hello,
Well this is a very open question it depends on your Report Definition. If you are not reporting on BLOB values it is already a good point. Can you share the configuration of your report or shared few database numbers.
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
If all the properties in the report are exposed, then performance would be good. There are many other factors which reduce performance which we can see in the warnings.
Pegasystems Inc.
US
The first step is to make sure all of the properties you are retrieving or using for join conditions are exposed.
The next is to obtain an explain plan for the query that is being executed for the report, and tune the database accordingly. This primarily means adding indexes to the appropriate columns to maximize the efficiency of the retrieval. If you have resident database experts they can analyze the explain plan and make recommendations about indexes to add.
These are usually enough to do the trick. If you have a unique situation where they are insufficient, then it's possible more sophisticated techniques can be applied.
Pegasystems Inc.
US
Hi,
A good starting point is to look at what guardrail warnings, if any, are on the report rule. Eliminating those is a good first step.
Pegasystems Inc.
IN
Hello,
Please refer the below Article, it might helps.
https://community1.pega.com/node/1130836
Thanks
Siddharth
Pegasystems Inc.
US
If exposing columns is not enough to do the trick, you need to look at a larger picture. For instance:
1) Is the report generating a very complex query? If so, why? E.g., are you trying to support too many usage scenarios with just one report? Splitting the report into smaller more specialized reports will reduce the complexity.
2) Are you re-executing queries and joins to static data every time you run the report? You might be better off pre-populating a table or view with join and sub-query data and just joining to that during the main report execution.
3) If you are doing joins, make sure the join columns are indexed. Joins on unindexed columns can kill the performance of a report.
-
Thaveesha Cabral Gaurav Londhe
Pegasystems Inc.
IN
Hi,
It is also worth to check From Pega Alert, you can check Pega0005 and Pega0042 for this query to identify whether you have both issues (join and fetching). This alert should be fixed by creating required indexes on the table mapped.
Warm Regards,
Venkat
-
Gaurav Londhe
Pegasystems Inc.
IN
Hi,
Please get the explain plan from your Database administrator.
Also, check the Pega alert logs to find out what DB components need to be fine-tuned.