CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
SQL Server Log Files are Huge!
- Article ID:
193 - Date Created
Wednesday, January 9, 2013 - Last Updated
Wednesday, January 9, 2013 - This Article Has been Viewed
1608 times - Short Desc
SQL Server has huge log files, that can grow to large Gb in size. This is simple to stop. - Details
When you create SQL Server database's, by default, they are set to grow large log files, this is easily fixed through the Management Studio. - Recreate Issue
To recreate this issue.
Create a new database, and do not change the [Options] Settings - Resolve Issue
To resolve this issue.
Open [Management Studio]
Right Click on the Database that you need to change the log file size of.
(This may need to be perform to all database's)
Once the Database Properties dialog appears
Click on [Options]
From the [Recovery Model]: Choose [Simple]
Click [OK]
Then Perform the following.
Go to [My Computer]
[Control Panel]
[Administrator Tools]
Then Choose [Services]
Scroll down to [SQL Server (NAME)] <= Right Click and choose [Stop]
Now, browse to the location where you have your SQL Server installed.
Example: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data
Now, in this folder, delete ONLY the following files.
All _log.ldf
Once this is completed.
Restart the SQL Server Services.
The log files will now be small, and will no longer be huge.
Always remember, when you create new Database's, you will want to perform this procedure each time, if not, you will experience large log files.
Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24694
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21297
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19544
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 17785
- The backup set holds a backup of a database other than the existing 16825