Symptom:
The disk where I installed CA SOI is full.
Solution:
You can use a command to shrink the Microsoft SQL transaction log file to free some space. However, your database must be configured with the recovery model Simple. If the recovery model is Full, the shrink command does not work.
Note: For more information, see the MSDN document http://support.microsoft.com/kb/907511.
Follow these steps:
BACKUP DATABASE [SAMStore] TO DISK = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\SAMStore.bak' WITH NOFORMAT, NOINIT, NAME = N'SAMStore-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10 GO
BACKUP LOG [SAMStore] TO DISK = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\SAMStore_log.bak' WITH NOFORMAT, NOINIT, NAME = N'SAMStore-Transaction Log Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10 GO
DBCC SHRINKFILE (N'SAMStore_log', 100) WITH NO_INFOMSGS
Specifies the logical transaction log file name.
Sets the file size to 100MB. You can make it above or below this value depending on your disk space availability.
|
Copyright © 2013 CA.
All rights reserved.
|
|