Monitoring log files in a SQL Server 2000 database

Tags:
SQL Server 2000
SQL Server 2000 Database
SQL Server database
SQL Server logs
I have an intermittent problem with a SQL Server 2000 database. The job, to truncate the log files, doesn't start on time, and the transaction fills up preventing users from logging in. I would like to monitor the log such that I can send an alert when the log reaches e.g. 80% full.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Instead of truncating the log you need to either backup the log, or change the database to simple recovery.

If you backup the log then you can restore the database to a specific point in time and the log will be cleared automatically.

If you don’t need the ability to restore to a specific point in time then simply change the recovery to simple and the SQL Server will automatically overwrite the log data as needed.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following