When executing command the following command to shrink the log part of a database
alter database ... log off ...
it fails with one of the following error:
Error 5056: You cannot remove %d pages (%d MB) from database '%.*s'; only %d unreserved pages (%d MB) are available.
Error 5053: You cannot shrink the log in database '%.*s' because there is at least one page to be removed (%d) that is part of the log. Dump the transaction log and retry the ALTER DATABASE command.
SAP Adaptive Server Enterprise (ASE) 15.7 and 16.0
SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0
reduce, remove, drop, delete , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem
About this pageThis 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.