Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shrinking a test database
Message
 
To
03/05/2016 14:03:27
General information
Forum:
Microsoft SQL Server
Category:
Database management
Environment versions
SQL Server:
SQL Server 2014
OS:
Windows 8.1
Network:
Windows 2008 Server
Miscellaneous
Thread ID:
01635776
Message ID:
01635788
Views:
57
>>Did you perform a backup of the log file prior to trying to shrink the db?
>
>No, is this a factor in the DBCC command when being executed?

Yes, when you do a backup of the log then the space gets "freed" and then you should be able to shrink it

[update]well, i read Sergey's post and he has a point, it depends on the recovery setting, I assumed full
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform