Setting Alerts Degrade Performance?

Oct 7, 2002

Hello Guys,
I have a Question. I want to set up a sql alert that will monitor a particular counter(Eg. Memory:pages/sec) and send me an email when it reaches a particular threshold.
My question is if i set up this, Will sql will start running a perfmon on the background and degrade server's performance
OR
Will it just read it from some system file or something to to get the values.

I dont know if the perfmon counter values are stored in any system files or not.

Please advise..

thank you in advance.

View 1 Replies


ADVERTISEMENT

Performance Degrade

Jun 20, 2007

Dear all,



I would like to share with you the following performance issue:



Configuration-Server

SQL 2005 workgroup edition

Windows 2003 server Small business

2 cpu

3.5 Gbytes Ram

RAID 0

boot.ini /3Gb userva=2560

Page file 2-4 Gbytes to each drive (two drives)

mdf file ~ 300 Mbytes

SQL dedicated server



Configuration-Clients

Windows XP

1 Gbyte RAM

Visual studio 2005 application

9 users





The problem

The users work smoothly for several days. The sql service is running continuously. After few days we have complaints from the users that the system is slow, SPECIALLY when they execute specific queries.



What we have done

1. We refine several queries.

2. We monitored several counters, specially those that reveal performance problems. They all return reasonable values.

3. defragmentation of Hard discs.

4. Stopped the services that are not required.

5. Reindex and update statistics every night.



What we found

When the users are complaining we monitored cpu spikes for sqlserv. We tried to find the reason but failed. The PF is around 2.1 Gbytes, sqlsrv Memory is around 1.5 Gbytes.



What we do not understand is why the system is not slow when we restart the sqlserv service. Also why after several days is becoming slow ??

Is there a memory leak ?

Has to do with continuous tempdb usage ?

Is there a probem with some system resources ?



ANY IDEAS ????

View 6 Replies View Related

Replication Performance Degrade In Unidirectional Direction And Lock Time Out (Update Are High Than Inserts)

Feb 21, 2007

 

We recently implemented merge replication.We were expereincing. The replication is between 2 SQL Servers (2005) over same network box, and since we have introduced the replication, the performance has degraded considerably on subscriber end.

1)   One thing that should be mention is that its a "unidirectional Direction" flow of changes is from publisher towards subscriber (only one publisher and distributor as well and one subscriber ).

2) Updates are high than inserts and only one article let say "Article1" ave update up to 2000 per day and i am experiecing that dbo.MSmerge_upd_sp_Article1_GUID taking more cpu time.what should be do..

 

on subscriber database  response time is going to slow and i am experiencing a lot of number of LOCK time outs on application end.

can any one can also suggest me server level settings for aviding locking time out.

 

looking for any experieced solution/suggestion.

Thanks in advance. 

View 3 Replies View Related

Setting Up Alerts For Replication

Aug 15, 2012

We have occasional problems with transactional replication between 2 databases, and the problem is we dont notice right away. Usually the customer notices a few days after replication has stopped, and thats no good. We want to be notified as soon as there is any problem related to replication so we can go in and figure it out.

Ive been playing with the alerts, and it LOOKS like I should be able to do what I want, but after several hours I still cannot make any of the alerts work.

In my test environment, I'm forcing the following error, in order to try and test an alert: error 20598 "The row was not found at the Subscriber when applying the replicated command."

This seems to be one of our more common errors, and also its really easy to produce, so it seemed like a good candidate for testing the alert.

First off, I noticed that the agent profile was set to "Continue on data consistancy errors", which ignores error 20598. So I changed the profile to "Default", which doesnt skip any errors.

Next I set up a simple Job that simply writes a string to a file. I tested the job by calling it manually and it works. Once i can prove that this job is actually being called, I will change it to email me and the team.

Then I created a new alert in the publisher database which watches for error code 20598. Its response is to call the job I mentioned above. So when the error occurs, a string should be written to that file.

Then I forced the 20598 error to occur. I deleted a row in the subscriber DB, and then changed the corresponding row in the publisher. This causes the error to occur. In my replication monitor, I see new entries saying "Skipped 1 error(s) when applying transactions at the Subscriber." I'm not sure why it says skipped, but I know that these entries are the 20598 error that I'm trying to produce.

Now, there was nothing written to my text file, and I can see from the job history that my job was never called. If I look at the history of my test alert, it says "never occured".

I forced the 20598 error to occur, and I have an alert that is watching for the 20598 error, but it never fires.

I also created an alert in the subscriber database, watching for the same error. This alert was not called either.

View 5 Replies View Related

Setting Up Alerts In Enterprise Manager

Dec 10, 2002

We are running SQL Server 2000 on a w2k server. I want to set up alerts to notify me through SQL Server Agent. The doc states to open the Mail icon in Control Panel but on this server there is no Mail icon. I thought that if Outlook Express was installed on the server the mail icon would be there. We have OE installed but there is no Mail icon.

Any ideas?

Thanks.
Joe

View 7 Replies View Related

Setting Thresholds For Mirroring Alerts

Dec 31, 2007

Hi all,


I have configured some Mirroring alerts based on Micosoft's documents. Mirroring.


If you can help me in setting some of the "Thresholds" for the Mirroiring alerts. That will be helpful, because i didnt see anywhere about the actual threshold limits setting for alerts ( In Production). Any approx. also OK.


At Principal:

(a) Unsent Log = ------ KB

(b) Oldest Unsent Transaction = ---- Minutes



At Mirror:

(c) Unrestored Log = ---- KB.

(d) Mirror Commit Overhead = --- MilliSeconds



Thanks again.

View 3 Replies View Related

Performance Condition Alerts Are Not Working

Jul 6, 2004

Hi,

I've a problem with my alerts on a SQL 2000 SP3.

I can not add sql server performance condition alerts. The table master..Sysperfinfo is empty.
And the existing ones doe not work properly.

I've already tried unlodctr & lodctr en rebooted the server more than once. But it didn't work.

Can someone help me with this problem ? thanks !!!

View 6 Replies View Related

SQL Server Agent Alerts When Using Performance Thresholds

Aug 15, 2007

I have set up thresholds for time behind and I'm getting an event 32040 in the eventlog when the threshold has been exceeded. I have also set up a SQL Agent Alert with a email operator. However the alert is never generated (and no email sent). Shouldn't it be possible to alert an operator as described in http://www.microsoft.com/technet/prodtechnol/sql/2005/mirroringevents.mspx also???
The email profile is working and also setup on the SQL Agent, and the SQL Agent has been restarted (just in case that's necessary).

What did I miss? Any ideas?

/Thomas

View 6 Replies View Related

Setting Up Query Notification And Performance Issue

Feb 8, 2007

We are in development stage of an application which uses Query Notification feature of SQL Server 2005. When the development started what the development team did was, they just Enabled broker on the database by SET ENABLE_Broker statement and they started using Query Notification. Now the application is in testing phase and when we test with many user, the performance is really slow. What i want to know is , when we use Query Notification what all are the setting to be done at the database level. Is this setting enough. And also how can i tune this system. any useful link is appreciated.

thanks in advance

Madhu

 

 

View 7 Replies View Related

Performance - Automatic Expansion Vs Setting Large Initial Size.

Aug 25, 2004

Hi,

We currently have a fairly new SQL server 2000 db (currently about 18mb is size) as a backend to an application (Navision). Performance seems to be below what it should be.

The db is increasing quite rapidly in size, with a lot of data scheduled to be loaded onto the db and also more and more shops and users coming onto the system with alot more transactions going onto the db.

The initial setup of the db has the database File properties set to "Automatically grow file" by "30%" and has an unrestricted file growth.

The server that the db sits on is high spec and very large disk space.

Because the database will be expanding alot and thus reaching its maximum space allocation and then performing a 30% increase in size (which I guess affects performance quite a bit??) quite regularly.

Is it best to set the intitial size of the db to a alot bigger size in the first place as we have large disk space availiable and also set the % increase bigger also.

any advice on best performance would be much appreicated.

Regards,
David

View 1 Replies View Related

Degrade 2000 To 7

Sep 5, 2002

Some general tips and suggestions on this ? Say that Im running 2000 with a database and later discover that some parts of the application/system only works in 7.0. So I want to degrade SQLServer version from 2000 back to the old 7.0. Reinstall with attach/detach of db ? backup and restore ? Are 2000 backward compatible in any way with 7.0 ?

Regards Peter

View 2 Replies View Related

Statistics Degrade

Aug 6, 2004

Hi,

another daily problem ...

I've a table with half million records that my application uses continious with several UPDATE e SELECT statement (about 5 requests/sec).
After several (4-5) hours I've a degrade of performance, but if I update the statistics (of thi table) all return ok.

Now the situation is I create a job to maintenance this table updating statististic two times a day ....

Is it normal? SQL should update statistics by itself?
I choose the wrong way or ... what can i do?

Thx

View 1 Replies View Related

Indexes Degrade Too Fast

Jan 13, 2006

(Win2003, SQL Server 2000 SP4)

I have a database of about 5Gb of size. Some queries where taking more than 1 minute to complete execution (all of them are stored procedures). Because of that lack of performance, I call the command DBREINDEX for each table, executed the sp_updatestats system stored procedure and finally I executed the sp_recompile system stored procedure for each sp in my database.

After all this task, queries completed in a matter of a few seconds instead of minutes. Strange enough is that some hours later (about 6 hrs), after normal use (this database belong to a Client/Server information system), the problem appeared again: Queries started to take too long to complete.

I am assuming that indexes are degrading too fast so that they required another ReIndex, but I am not sure.

Any thoughts? How can I prevent this behaviour?

Thank a lot in advanced.

View 5 Replies View Related

Does SQL Degrade When DBCC Traceon 1222 Is Switched On?

Sep 18, 2007



Hi,

I'm seeing a few deadlocks on my SQL 2005 production database and wondered what i could expect if i switch on the trace flag 1222. Can this cause more deadlocks to occur? Will the performance of SQL degrade? Is it safe to have this flag set on a production server or is there another method you would recommend?

Thanks
Martin

View 1 Replies View Related

SQL Alerts

Feb 9, 2000

Is there any recommendations on setting up Alerts. What are the standard set alerts that should be setup on every server?

View 1 Replies View Related

Help With Alerts

May 9, 2002

I have to send the alerts when the database(s) will be filled more than 90% and 95%. Please help me if you have some samples.

Thanks,
Rau

View 1 Replies View Related

Anyone Using SQL Alerts?

Jun 20, 2008

I ignored this nice little feature till now, probably because mail configuration complexities. Now that we have DB mail, it has become very smooth.

I just implemented an alert for log growth, and found that it works very well.

Any of you using, alerts for , other interesting events?


------------------------
I think, therefore I am - Rene Descartes

View 4 Replies View Related

Alerts

Jun 20, 2006

Hi everyone,
I also could not find any definition about Alerts and their purpose and usage.
Would you please explain it to me ??

Thanks

View 4 Replies View Related

Autogrow And Alerts

Oct 31, 2000

Is there a way that I can get SQL Server to tell me (Alert?) when it has grabbed another chunk of space for a database that has the "Automatically grow file" option set?

View 1 Replies View Related

SQL Server Alerts

Dec 2, 1999

I was wondering if anyone knew of some key error numbers that I should look for to fire alerts off of.

For example, ERROR 926 "Database cannot be opened. It has been marked SUSPECT by recovery. See the SQL Server error log for more information."

I am looking for some key error messages (Error Numbers) like the one above that are good to initially setup within SQL Server for alerting Administrators of potential issues.

Thanks,

Peter

View 1 Replies View Related

New Babie On Alerts

Dec 4, 2002

Hi,
I just realized there are several severity alerts on the Server Agent, from Severity 19 to 25.
Is there anyways to delete those messages? If I don't delete those, would it be affected later?
The Online Book mentions those are some of the system error messages, but they don't show how to delete them.
Can anyone helps?
Thanks a lot.

View 6 Replies View Related

Locks And Alerts

Nov 3, 2005

Hi,

I am having trouble with locks and performance issues in one application. The SQL server is specific to this application. What settings should i choose to set an alert to let me know when i get too many locks? the locks i am interested in ar ethe ones that show up in SQL EM. ie where a process is blocking another process(es).

I have tried New Alert | lock requests /sec but that is a huge figure when the server is running OK, so i cant guess what value to set for the counter. Is there a better object/counter i should use?

thanks
fatherjack

View 5 Replies View Related

Alerts Not Being Triggered

Dec 14, 1998

I've setup alerts and an operator to email on a particular event code.
I can successfully test the operator. (It e-mails fine)
The problem I am having is that despite having a particular event
log to the NT application log, no SQL Alert is triggered.
I've tried logging to the NT Application log, as well as the SQL errorlog.
The SQLExecutive is running.
Thanks in advance.
John

View 1 Replies View Related

Alerts For Jobs

May 4, 2001

I am working with alerts and trying to see if there is a way that I can control the message on the notification. I have the job set to send an email and a net message when the job succeeds. Since this message will be going to the user, I owuld like to be able to make the message as clear as possible for them. Does anyone know if the message being sent can be modified or altered with an alert? And how?

Thanks!!

View 1 Replies View Related

MS SQL Operator Job Alerts Via SMS

Feb 17, 2005

Hey guys,
I was just thinking, is it possible to send alerts via the Managment/SQL Server Agent/Operators/Alerts to an SMS system?

Is it even technically posibble?

Actually I am trying to develop an alert system that reads the database table periodcally, the data being read is a datetime, once it reaches the time, I need to send an sms to the person.


Any suggestions? ideas? Quickest solution?

View 1 Replies View Related

Alerts Not Working

Mar 22, 2004

I defined an Alert in Enterprise Manager for Severity 19 - Fatal Error In Resource. The alert is enabled, the type is "sql server event alert" and the alert is defined against a specific database. SQLSERVERAGENT and SQL Mail session are both started. I test the alert using the following statement in the specified database.

raiserror (50001,19,1) with log

A message is placed in the SQL Server log, however no alert is fired. The alert history indicates the alert has never occurred. What am I missing?

Thanks, Dave

View 8 Replies View Related

Sql Server2005 -Alerts

May 29, 2008

hi
how are the use alerts in sql server2005,
and which alert type used in maximum and how to performaing our database

I would like to get user experiences

View 3 Replies View Related

Alerts By Email In Clusterd Env.

Aug 9, 2001

Does anyone know of a way, either by 3rd party tools or using SQL server, to have alerts get emailed to you in a clustered active/active environment? I work as the DBA at a quickly-growing company, whose production databases need to be online 24X7. I want to set up the alerts to email/page me if there are problems with the databases, but since (according to microsoft) SQL mail is not supported in a clustered environment I'm at a loss.

I'm looking for some help in trying to resolve this issue either by 3rd party means or a SQL Server work around.

Your help will be greatly appreciated.

Sincerely,

Tony

View 1 Replies View Related

Sql Mail Alerts & Groupwise

Sep 28, 2001

Can anyone point me in the direction of a good resource
that will help us set up our system so that
notifications from alerts/jobs send emails to our
Groupwise email system?

View 1 Replies View Related

Notifications Sent Even If Alerts Are Disabled

Mar 7, 2001

Hello all,

Here's the problem I'm trying to solve:

I have several alerts set up and a job setup to notify via email if alerts occur. There are times when I might be doing maintenace on a box that may generate alerts but I don't want to get emailed or paged for these "dummy" alerts. I thought first of setting the enabled column of sysalerts to 0 - that doesn't work. I still get notified. Then I thought I'd set the enabled column in sysjobs for my notification job to 0 while I'm doing the work. But as soon as I re-enable the job I get an alert. It seems that as soon as the job is re-enabled it checks the NT application log and sees that an alert was fired and somehow knows that there was no notification sent so sends one. If I purge the NT application log before re-enabling the job is solves the problem. But that is a very in-ellegant solution and I don't want to loose all the info stored in the event log any way. Does anyone know how SQL SErver aggent keeps track of this stuff? (ie. that an alert was fired but it's response job is disabled and to check once a job is re-enabled to see if any alerts occured while it was disabled?) I did a Profiler trace while re-enabling the job but didn't see anything pertinant in there.

Thanks in advance.

Patrick

View 2 Replies View Related

Writing SQL Alerts - DB Out Of Space

Nov 30, 2000

I want to write a sql alert to notify me when my database is out of space.
So as not to duplicate any messages - has anyone seen threads on this subject?
If not, can anyone give ideas on how to create this script?
thanks in advance.

View 1 Replies View Related

User Alerts, Best Practice

Jun 3, 2004

I'm searching for tips on how to alert users regarding downtime of our SQL Server. Is it good enough to alert users by email, and then shut down the service, or do you use a better approach (lock database, sp_who, one-by-one alert...)?

Thankful for all replies.

Newbie in DB administration.

View 1 Replies View Related

Custom Alerts To Invoke A Job

Aug 19, 2004

I want to creat an alert that will back up my database when the log files get to 90% full. When i try to create a new alert and select performance condition and select sqlserver:databases as the object then log file(s) Used size (kb) as the counter but when i go and select the instance i dont see my database in the drop down list but if I change to sql server event alert I see the database i want to use for this alert. I dont want to wait until the log is already full to back it up i want to do it when it hits a percent full. Is there a way to do this as a performance condition? thanks for your help!

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved