Solved

SP to monitor log file growth and send alert

Posted on 2009-07-01
4
620 Views
Last Modified: 2012-05-07
We are running a database on SQL Server 2000 and I would like to monitor the growth of the log file as it recently maxed and crashed the live system.

For instance if I allocate 10GB of space to the log file i would like a stored procedure to alert me if it reaches a certain threshold; e.g 80%.

Can someone assist me with this?

Thanks
0
Comment
Question by:SigmundFraud
[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 60

Expert Comment

by:chapmandew
ID: 24753822
Instead, why don't you just setup log backups as part of your maintenance routine?  If you did, you'd likely not have to worry about your log getting too large...
0
 

Author Comment

by:SigmundFraud
ID: 24753845
Indeed you are right but i would like multiple safeguards as recently the backups failed and the notifications were not sent out.
0
 
LVL 60

Accepted Solution

by:
chapmandew earned 500 total points
ID: 24753882
Here's an article I wrote awhile back that should do it for you:

http://blogs.techrepublic.com.com/datacenter/?p=296
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
error doing substr 3 38
sql update 2 39
Access table not showing correct column 6 25
T-SQL: problem comparing datetime 4 51
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

726 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