SAP Knowledge Base Article - Preview

2654971 - Two queries inside a stored procedure have recently started taking longer to run - SAP ASE


  • Two queries inside a stored procedrue have recently started taking 58 minutes to execute when earlier took 2 seconds only.
  • No changes to application, SQL, or ASE configuration.
  • Why does a procedure that has been running for years change all of a sudden.



  • SAP Adaptive Server Enterprise (ASE) 15.7 and 16.0
  • SAP Adaptive Server Enterprise Cluster Edition (ASE CE) 15.0 and 16.0


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0


optimizer, forceplan, set forceplan, query performance, performance, stored procedure, SP, update statistics, update index statistics , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.