Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Restarting the SQL Agent Expand / Collapse
Author
Message
Posted Tuesday, February 05, 2013 6:27 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, April 15, 2013 2:11 PM
Points: 31, Visits: 74
Hello --

I made several changes to the Database Mail configuration, and in order for them to go into effect, I will need to restart the SQL Agent. The standard practice that I have used is to wait until after hours before restarting the agent. This is done to ensure that access to the database and its front-end application does not get interrupted during the workday.

I was curious to know if restarting the agent would indeed interrupt access to the database and application, or would such an action not be have that effect?

Thanks.
Post #1415798
Posted Tuesday, February 05, 2013 7:08 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:55 PM
Points: 6,720, Visits: 11,759
Just restarting Agent will not affect the Database Engine in and of itself. Restarting Agent can have some side-effects though that you'll want to check on beforehand. Check for jobs that have a schedule to 'start when the sql server agent starts' and make sure you want those jobs to run in this scenario. Also wait for running jobs to complete before restarting and account for any missed executions for upcoming job schedules should the service restart takes more than a minute or two so you can run those jobs manually when the service comes back.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato

Believe you can and you're halfway there. --Theodore Roosevelt

Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein

The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein

1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
Post #1415818
Posted Wednesday, February 06, 2013 1:28 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: 2 days ago @ 4:33 AM
Points: 25, Visits: 112
No. SQL agent restart will in no way effect the SQL Database Engine access.

SQL Agent is used as a job scheduler. so only your jobs will get affected if there are any running around the restart time(as noted in the earlier post correctly).

Regards
Satyen.
Post #1416711
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse