Symptom
- A cursor running through million rows run very slow.
- In the middle of the cursor fetching, it leaves $sort_local transaction open.
SELECT * from master..syslogshold
go
dbid reserved spid page xactid masterxactid
starttime
name
xloid
------ ----------- ------ ---------- -------------- --------------
-------------------------------
-------------------------------------------------------------------
-----------
2 0 14 911 0x8f0300000a00 0x000000000000
Aug 3 2022 6:21AM
$sort_local
28
Read more...
Environment
Adaptive Server Enterprise 16.x
Product
SAP Adaptive Server Enterprise 16.0
Keywords
sort_local , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed
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