Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: best size of procedure cache size?

$
0
0

Hi Kent,

 

Your sp__monitorconfig 'procedure cache size' outputs indicates the followings:-

  • current usage of 26+%
  • HWM of 787,437 x2K pages, which is 52+%
  • re-used count of 746,136, which is 50%

 

The ASE expert, whom you consulted, is right to say that re-used count should be as close to zero as possible.

 

Do you have Statement Cache enabled (check 'statement cache size')?

 

If you have, it may be too small.  ASE would not exceed 'statement cache size' configured when caching new incoming statements even though there may be free space available in the Procedure Cache (with HWM of 52+%, there was 47+% spare at the time), instead, ASE would remove the oldest cached statements from Statement Cache ( and their Light Weight Procedures (LWPs), + query plans ) to free up space - this is probably the reason for the re-used count of 50%.

 

Best regards,

Raymond


Viewing all articles
Browse latest Browse all 3587

Trending Articles