Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Monitoring Log Files Size
Dear All,

Is there any method to monitor the size of log files in SQL Server 2000?
If yes how?

Thanks

Robert Lie

Report this thread to moderator Post Follow-up to this message
Old Post
Robert Lie
04-28-05 08:23 AM


Re: Monitoring Log Files Size
Robert Lie  wrote:
> Dear All,
>
> Is there any method to monitor the size of log files in SQL Server
> 2000? If yes how?
>
> Thanks
>
> Robert Lie

You can use sp_helpfile to get a listing of all files (data and log) in
the current database.

--
David Gugick
Imceda Software
www.imceda.com


Report this thread to moderator Post Follow-up to this message
Old Post
David Gugick
04-28-05 08:23 AM


Re: Monitoring Log Files Size
Is there any way to send it the information to my email automatically?


David Gugick  wrote:
> Robert Lie wrote:
> 
>
>
> You can use sp_helpfile to get a listing of all files (data and log) in
> the current database.
>


Report this thread to moderator Post Follow-up to this message
Old Post
Robert Lie
04-28-05 08:23 AM


Re: Monitoring Log Files Size
hi,
Yes. You can send the information to your e-mail address automatically.

For that you need to register your e-mail address in the SQL Server.
Create a scheduled job that executes sp_helpfile and sedn the result to
desired e-mail address

I believe this answers your question

thanks and regards
Chandra

"Robert Lie" wrote:

> Is there any way to send it the information to my email automatically?
>
>
> David Gugick wrote: 
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Chandra
04-28-05 08:23 AM


RE: Monitoring Log Files Size
Use SQL Agent Alerts to watch the Performance Monitor counters that track
file size, and when the log crosses a threshold that you define, SQL Server
Agent can take predetermined actions such as running a script to increase th
e
log size, sending you email, or shrinking the file.


"Robert Lie" wrote:

> Dear All,
>
> Is there any method to monitor the size of log files in SQL Server 2000?
> If yes how?
>
> Thanks
>
> Robert Lie
>

Report this thread to moderator Post Follow-up to this message
Old Post
JosephPruiett
04-28-05 02:23 PM


RE: Monitoring Log Files Size
Use SQL Agent Alerts to watch the Performance Monitor counters that track
file size, and when the log crosses a threshold that you define, SQL Server
Agent can take predetermined actions such as running a script to increase th
e
log size, sending you email, or shrinking the file.

Sorry I posted this answer on the other question you asked about log files.

"Robert Lie" wrote:

> Dear All,
>
> Is there any method to monitor the size of log files in SQL Server 2000?
> If yes how?
>
> Thanks
>
> Robert Lie
>

Report this thread to moderator Post Follow-up to this message
Old Post
JosephPruiett
04-28-05 02:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 08:33 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006