RE: DBCC Shrinkfile
  Home FAQ Contact Sign in
microsoft.public.sqlserver.server only
 
Advanced search
POPULAR GROUPS

more...

 Up
RE: DBCC Shrinkfile         

Group: microsoft.public.sqlserver.server · Group Profile
Author: Linchi Shea
Date: Jun 16, 2008 13:08

Also, do a DBCC OPENTRAN inside that database to see if there is any
long-running open tran preventing you from reclaiming the log space.

Linchi

"R C" wrote:
> hi,
> i have a database that has a datafile of 40+GB and a log file of 51GB. i
> don't need the log file. i tried to do a shrinkfile command and it doesn't
> seem to make the file smaller. the command i'm running is:
> dbcc shrinkfile ('MA_Log', 1000, TRUNCATEONLY)
>
> please advise how to do this.
>
> thanks,
no comments
diggit! del.icio.us! reddit!

RELATED THREADS
SubjectArticles qty Group
dbcc checkdb or dbcc checkallocsybase.public.ase.administration ·