|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Shrinking a dbI am having trouble shrinking a database. The database is 14 gig, with 6 gig
free space. I have tried to shrink the db with ERM, and I have tried from command line with dbcc shrinkdatabase and dbcc shrinkfile with no success. Anybody have a clue as to what I am doing wrong. Thanks for the help. Archer 6 GB of free space is really not that much. I would leave it as is. But
more than likely you have an open transaction somewhere that is preventing the shrink. What does DBCC OPENTRAN() say? -- Show quoteAndrew J. Kelly SQL MVP "bagman3rd" <bagman***@discussions.microsoft.com> wrote in message news:8358EF2F-65E8-4CF0-9629-1707E44CA84A@microsoft.com... >I am having trouble shrinking a database. The database is 14 gig, with 6 >gig > free space. I have tried to shrink the db with ERM, and I have tried from > command line with dbcc shrinkdatabase and dbcc shrinkfile with no success. > Anybody have a clue as to what I am doing wrong. Thanks for the help. > > Archer bagman3rd wrote:
> I am having trouble shrinking a database. The database is 14 gig, The database is composed of one or more data files and one or more log > with 6 gig free space. I have tried to shrink the db with ERM, and I > have tried from command line with dbcc shrinkdatabase and dbcc > shrinkfile with no success. Anybody have a clue as to what I am doing > wrong. Thanks for the help. > > Archer files. Which file are you trying to shrink using DBCC SHRINKFILE? If it's the log file, you might try truncating the log or backing it up first.
Other interesting topics
|
|||||||||||||||||||||||