Solved

Our MSSQL Database server gets slow as the log files are not being cleared automatically. When I watch the Directory of data files it show old date in the Date modified column. The Date is modified a

Posted on 2008-10-15
4
236 Views
Last Modified: 2010-03-20
Our MSSQL2000 Database server gets slow every 2-3 days as the log files are not being cleared automatically. When I watch the Directory of data files it show old date in the Date modified column. The Date is modified after restarting server.
How could the problem be resolved?. What setting to be done in the server?
0
Comment
Question by:sgkgaglg
[X]
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
  • 2
4 Comments
 
LVL 37

Expert Comment

by:momi_sabag
ID: 22719882
you can shrink the log files
0
 
LVL 37

Accepted Solution

by:
momi_sabag earned 250 total points
ID: 22719883
DBCC SHRINKFILE (N'name' , 0, TRUNCATEONLY)
0
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 250 total points
ID: 22719930
you have to first ensure that you (regulary) backup the transaction log (BACKUP LOG statement, not the physical file itself).
that will mark the space used internally as reusable, and also the DBCC SHRINKFILE command above will then be able to effectively reduce the t-log file.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

705 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