Symptom
- A query using the EXCEPT clause on a (very) large table
- Is consuming a large amount of procedure cache
- A 701 'out of procedure cache' is not immediately reported
- Attempting to kill the process running the query does not kill it immediately
- If a 701 is later reported, the process consuming memory may resolve it self
- The spid running the query shows as a long running transaction in syslogshold with name of $sort_local
- A dbcc stacktrace on the spid will include ASE code functions:
mem_pageallocate
mem_getpages
memalloc
LeHashPartition::AddBuffer LeHashContext
LeHashTable::Build LeAlignedDataRow
Read more...
Environment
SAP Adaptive Server Enterprise (ASE) 16.0 SP04 & 16.1
Product
SAP Adaptive Server Enterprise 16.0.4 ; SAP Adaptive Server Enterprise 16.1
Keywords
except, intersect, CR 831709, 831709, high, cpu , LeHashPartition::AddBuffer(LeHashContext*, unsigned int)+0x4f() , LeHashTable::Build(LeAlignedDataRow*, unsigned char**)+0x345() , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Known Error
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.
SAP Knowledge Base Article - Preview