Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How do I control ldf file growth in SQL Server 2000

Posted on 2011-02-22
6
266 Views
Last Modified: 2012-05-11
I have a customer with a SQL Server 2000 database that doesn't get much maintenence.  Every once in awhile the ldf file grows to big for the disk space and locks up the server.  Is there a way to automatically shrink the ldf file or minimize the file growth?  This is a daily backup database populated with DTS every night for easy access to yesterday's data if ever necessary.  It is not a production db.  
0
Comment
Question by:woodwyn
  • 3
  • 2
6 Comments
 
LVL 32

Expert Comment

by:ewangoya
ID: 34954575

Change the recovery mode to Simple and schedule regular backup of the log
This should keep it at a reasonable size
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 34957359
>>Change the recovery mode to Simple and schedule regular backup of the log<<
I suspect you mean:
Change the recovery mode to Simple or schedule regular backup of the log

You cannot do both.
0
 

Author Comment

by:woodwyn
ID: 34962941
Any recommendations on if either solution is easier to implement and/or more reliable as a solution to our problem?
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 32

Expert Comment

by:ewangoya
ID: 34963068

Either way should be fine
0
 

Author Comment

by:woodwyn
ID: 34963093
How does one set recovery mode to simple?
0
 
LVL 32

Accepted Solution

by:
ewangoya earned 500 total points
ID: 34963119

run this command

ALTER DATABASE [database name]
SET RECOVERY [SIMPLE]
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

809 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