sppr_sys_reservequeueitem_b
We recently upgraded from PRPC 7.2.1 to 8.5.2. Our DB folks have indicated that since the upgrade the sppr_sys_reservequeueitem_b, making a select call to pr_sys_queues, is executing millions of times per day resulting in very high cpu usage. What controls how often this proc is called related to pr_sys_queues?
@MarkH960 what is the database type?
If this is an ORACLE environment. can you try to alter the ORDER BY clause of the standard stored procedure sppr_sys_reservequeueitem_b:
FROM:
orderby := ' order by pzInsKey ASC';
TO:
orderby := ' order by pyMinimumDateTimeForProcessing ASC';