SAP Knowledge Base Article - Preview

3348603 - How to cause all cached statement plans to recompile - SAP ASE

Symptom

It appears that the current query plan is not efficient, and it may be reusing the execution plan that was generated previously for the same SQL statement.

Therefore, we would like to remove the cached plan so that a new execution plan can be generated.

Would like to have all cached statements removed, or recompiled.

How can this be accomplished?


Read more...

Environment

SAP Adaptive Server Enterprise 16

Product

SAP Adaptive Server Enterprise all versions

Keywords

"dbcc purgesqlcache" , sp_recomplie , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , 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.