Support Article

Time taken to fetch the articles is too long

SA-33792

Summary



Time taken to fetch the articles is too long.


Error Messages



Not Applicable


Steps to Reproduce

  1. Launch KM Portal and Click on HelpSites
  2. Select an helpsite and click Preview.
  3. In preview window click on view all link
  4. An breadcrumb is shown on (for ex. Home > Customer Service > Retail Banking).
  5. Click on "Customer Service" or Home
  6. Observe the time to load the page is too long. Currently system takes around 15 seconds.


Root Cause



A defect in Pegasystems’ code or rules

When this RD KMListArticlesByTaxonomy is run for fetching KM articles. Lets say if user has 1500 articles and 5 Categories. The loop that is run is 5*1500 and this RD has two blob columns ContentSourceAuthored and ContentSourceURL. And the blob reads for 5*1500 is causing performance issue.

Resolution



Perform the following local-change:

Add another column to the table ABC_DATA.pfw_JD_ABCKM_Work_61XX5 and limit the content in it to 200 or 250 chars which will be shown as short description of article when all articles are listed and read from blob only when articles is opened.

Published February 16, 2017 - Updated February 21, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.