June 11, 2014 at 9:33 pm
How can i reduce my Sql database .LDF file size.
Even i set Auto Shrink Property is True
da.mdf Size is 15.25 MB
da_log.ldf size is 128.00 MB.
I am using Sql Server 2008 and database is updated from 2005 to 2008 Sql Server.
In case any Issue Of Version.
June 12, 2014 at 1:07 am
What is the Recovery Model for the database?
😎
June 12, 2014 at 2:20 am
First thing you can do is turn autoshrink off. That's a setting which should never be enabled.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 12, 2014 at 3:17 am
@itsgaurav
Can you please post your questions on the correct forums for the SQL Server version you're using? It will make it easier for you to get answers and we won't have to keep moving them. Thanks.
June 12, 2014 at 3:46 am
[/url]
And, I'm with Gail, turn off auto shrink.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
June 12, 2014 at 9:52 pm
This was removed by the editor as SPAM
June 13, 2014 at 9:52 pm
At First Thanks For Reply
My Sql Server Version is :
Microsoft SQL Server 2008 (RTM) - 10.0.1600.22 (X64) Jul 9 2008 14:17:44 Copyright (c) 1988-2008 Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: )
Recovery Model : Full
Compatibility Level : Sql Server 2008 (100)
Now I Set Auto Shrink Property Is Off.
After That I have To do something or it will auto reduce kindly suggest ?
June 14, 2014 at 3:57 am
Did you read the post I linked to? You need to have log backups enabled.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply