Symptom
Getting error: Msg 5059, Level 16, State 1 "You can only remove space from the log segment (segment map 4) in database '<db_name>'. The page range between <page_number> and <page_number> belongs to the segment with segment map 0, when trying to shrink a log dbspace which was already dropped.
Read more...
Environment
- SAP Adaptive Server Enterprise (ASE) 16.0 for Business Suite
- SAP Adaptive Server Enterprise (ASE) 15.7 for Business Suite
- SAP NetWeaver (NW) - All versions
- SAP Adaptive Server Enterprise (ASE) 15.7 SP100 and above
Product
SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; SAP NetWeaver 7.5
Keywords
alter database log off shrink "Msg 5023" "You can only remove space from the log segment" , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem
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