Question
Maantic Inc
US
Last activity: 17 Apr 2020 14:25 EDT
Performance issue - Application takes more time to get work object details data
Hi ,
Application Report definition are takes more time to get the data from pega work and index tables, but when the same database query executed from SQL developer works fast.
Not sure, where the bottleneck.
Report definition using application connection id
when I run in SQL developer, using different id for db connection
Report definition are pointing to exposed column, not blob
Pega version: 7.2.1 , DB: oracle , server: web sphere
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
FR
Hello,
Have you tried tracer or performance analyser to check where the time is spent?
Verizon
IN
Maantic Inc
US
Tried DB trace, it shows high time in preparedStatement in SQL
Ernst & Young LLP
MT
When you executed the query using Oracle SQL developer, did you use the same attribute values in the where clause, as it was when you executed that report def from PRPC?
BTW, does it say 'PreparedStatement' or 'PreparedStatementQuery'?
Maantic Inc
US
1. yes, same attribute element withe same set of where clause
2. TB tracer shows - preparedStatement under operation column
Ernst & Young LLP
MT
I was referring to the value used in where clause.
Can you please get the generated query, and update it with the actual values used in query/report def, and get the cost/explain plan of that query from your DBA or Oracle SQL developer?
Maantic Inc
US
Working with DBA, will update the status shortly
Mastercard Inc
US
Were you able to find a resolution ? What is the root cause for the prepared stmt to take longer.