Solved

modellog.ldf 8 GB how to shrink - SQL Server 2000

Posted on 2011-09-02
3
1,298 Views
Last Modified: 2012-06-27
Hi all.

How do I shrink the size of the modellog.ldf, it's currently at 8GB.

Thanks.
0
Comment
Question by:printmedia
  • 2
3 Comments
 
LVL 17

Assisted Solution

by:Chris Mangus
Chris Mangus earned 250 total points
Comment Utility
Nothing should be using model database.  Strange.  I would investigate that.

Anyway, you can shrink it like any other database, right-click on the database, choose tasks, shrink files, select the log file, choose reorganize pages and set the value to 1.  Then, click ok.

0
 
LVL 6

Expert Comment

by:markterry
Comment Utility
It depends on your recovery model. If your recovery model is full (default) then you need to change it to simple recovery model to do a file shrink on the log (right click database, shrink > files, select log).

For more information on recovery models see this article (requires signup) or do a google search for "SQL Server Recovery Models".
SQL Server Central - Recover Models Article
0
 
LVL 6

Accepted Solution

by:
markterry earned 250 total points
Comment Utility
Sorry, just noticed it was a system db you were talking about. Same theory applies, try to shrink before changing recovery model.

See this article possibly:
http://www.itbangbang.net/2010/06/how-to-shrink-large-modellogldf-file.html
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now