Showing posts with label operations. Show all posts
Showing posts with label operations. Show all posts

Friday, March 9, 2012

Monitoring database activities from outside SQL Server

Hi,

I want to know how can I monitor some operations that are executed on a SQL Server database. Operations like: INSERT, DELETE, UPDATE, transactions, and so on (I know that I can do this using triggers, but doing this way I'll have to fill a table with the information from the triggers and stay loading the table data all the time. I want a way to monitor using other resources, in realtime).

My idea is to build a program to monitor these activities (developed in C# to be more exactly). How can I do this?

Thanks

PS: I know that we already have commercial products to do this, but I need to develop one.

WHy not just use a trace and export it to whatever external app you want to review?

I usually create my traces using sp_**trace, then I've set up external apps to call the trace and view the results.

|||

The problem is...if I create some triggers and Stored Procedures, my program will have to stay selecting data for long cycles. I'd like to have something automated, so when something occurs, automatically my program understands it.

Must have a way to do this, because I think SQL Profiler wouldn't use SELECTs to get Performance and Counting info.

Monitoring database activities from outside SQL Server

Hi,

I want to know how can I monitor some operations that are executed on a SQL Server database. Operations like: INSERT, DELETE, UPDATE, transactions, and so on (I know that I can do this using triggers, but doing this way I'll have to fill a table with the information from the triggers and stay loading the table data all the time. I want a way to monitor using other resources, in realtime).

My idea is to build a program to monitor these activities (developed in C# to be more exactly). How can I do this?

Thanks

PS: I know that we already have commercial products to do this, but I need to develop one.

WHy not just use a trace and export it to whatever external app you want to review?

I usually create my traces using sp_**trace, then I've set up external apps to call the trace and view the results.

|||

The problem is...if I create some triggers and Stored Procedures, my program will have to stay selecting data for long cycles. I'd like to have something automated, so when something occurs, automatically my program understands it.

Must have a way to do this, because I think SQL Profiler wouldn't use SELECTs to get Performance and Counting info.

Monday, February 20, 2012

MOM & SQL Monitoring

Does anyone know the Microsoft SQL site whereby I can
collect information regarding using Microsoft Operations
Manager to Monitor SQL server..
Thanks,
AngelinaThis is your starting point: http://www.microsoft.com/mom/
--
HTH,
Vyas, MVP (SQL Server)
http://vyaskn.tripod.com/
Is .NET important for a database professional?
http://vyaskn.tripod.com/poll.htm
"Angelina" <anonymous@.discussions.microsoft.com> wrote in message
news:1116901c3f53f$92e65820$a301280a@.phx.gbl...
Does anyone know the Microsoft SQL site whereby I can
collect information regarding using Microsoft Operations
Manager to Monitor SQL server..
Thanks,
Angelina|||Thanks Narayana,
Done that. I'm looking for specifics on how monitoring
can be setup for SQL Server. Just trying to cut down the
chase.
Thanks,
Angelina
>--Original Message--
>This is your starting point:
http://www.microsoft.com/mom/
>--
>HTH,
>Vyas, MVP (SQL Server)
>http://vyaskn.tripod.com/
>Is .NET important for a database professional?
>http://vyaskn.tripod.com/poll.htm
>
>"Angelina" <anonymous@.discussions.microsoft.com> wrote
in message
>news:1116901c3f53f$92e65820$a301280a@.phx.gbl...
>Does anyone know the Microsoft SQL site whereby I can
>collect information regarding using Microsoft Operations
>Manager to Monitor SQL server..
>Thanks,
>Angelina
>
>.
>