Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

performance problem when querying APS

Status
Not open for further replies.

rptnut

Technical User
Sep 24, 2001
24
US
Has anyone else experienced performance problems when querying the APS? We've written some csp code to look for instances of reports that meet certain criteria, so we don't have to drill into each report looking for things like failed instances. This often puts the CrystalAPS service into a death spiral consuming over 1.5G of memory. The only way to clean up is to kill and restart the service.

We have over 3800 instances. We're okay until we send a query that causes the aps to pull the ci_data column from ci_runtimeimage table. This is a blob column that holds things like parameters and values the report instance ran with.

Here's an example - From Launch pad, go to the Developer samples, then CSP Query Builder. Use this query:
Code:
SELECT SI_ID, SI_RECURRING, SI_UISTATUS, SI_NEXTRUNTIME, SI_OWNER, SI_OBTYPE, SI_ENDTIME, SI_PROCESSINFO.SI_PROMPTS, SI_NAME
from FROM CI_INFOOBJECTS WHERE SI_UISTATUS = 3

Let me know how many instance you have and if this query works. To find out number of instances, go to your database admin tool like sqlplus and SELECT COUNT(*) FROM CI_RUNTIMEIMAGE;

Thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top