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

"configure size for data cache (tempdb_cache1) is not sufficient to handle the sort buffers (4005) requested. "

$
0
0

Running a stored proc simultaneously a large number of times (> 150) I get the message

 

"The configure size for data cache (tempdb_cache1) is not sufficient to handle the sort buffers (4005) requested. Please reconfigure the data cache or sort buffers and try the command again.

Server:SDB_SQL Proc:GetEIDS Line:0 Severity:17 MessageNbr:1526"

 

I'm confused about the message what the correction action is.

 

I thought sort buffers were part of the procedure caches

 

    select * from monProcedureCacheModuleUsage

 

     InstanceID ModuleID    Active      HWM         NumPagesReused ModuleName

     ---------- ----------- ----------- ----------- -------------- ------------------------------

              0          11         463       68511              0 Sort

 

yet the message implies the the data cache is too small.

 

What's the relationship between data cache and sort buffers ?

 

We have

    "number of sort buffers" at 1000.

    "procedure cache size" at 19Gb

     tempdb_cache1           at 25Gb

 

sp_monitorconfig "all"

shows procedure cache hasn't run out but has reached 87% used (which is about the max we can deal with anyway)

 

Name                      Num_free    Num_active  Pct_act Max_Used    Reuse_cnt   Instance_Name

------------------------- ----------- ----------- ------- ----------- ----------- ------------------------------

procedure cache size          6182350     2521650  28.97      7487767       59073 NULL

 

 

From Simon Ogdens conversations, I'm inclined to think we need more procedure cache.

Or should I look at the data cache and sort buffers.


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>