SAP Knowledge Base Article - Preview

3315190 - How to identify transaction log usages for tempdb - SAP ASE

Symptom

  • Worktables are consuming a lot of log space in tempdb /saptempdb
  • The following query helps but it's displaying the data segment and not the log segment:

select
   spid,
   hostprocess,
   loggedindatetime,
   ( @@maxpagesize * convert(int,pssinfo(spid,"tempdb_pages")))/1024 as USAGE_IN_KB
from master..sysprocesses
where convert(int,pssinfo(spid,"tempdb_pages")) > 0
order by 2


Read more...

Environment

SAP Adaptive Server Enterprise (ASE) - all versions

Product

SAP Adaptive Server Enterprise all versions

Keywords

tempdb, saptempdb, log usages, logsegment,  tempdb_pages, xactspanbyspid, loginfo, pssinfo , 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.