SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 SQL AGENT JOBS
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rikleo2001
Posting Yak Master

New Zealand
181 Posts

Posted - 08/01/2007 :  16:46:59  Show Profile  Send rikleo2001 a Yahoo! Message  Reply with Quote
Guys,

I been given a task to convert all VB.NET routine execution process into SQL Server JobS.

Now here are my basic questions.
1. I beleive that SQL Jobs will run in their own threads? so no harm if I run 100 Jobs on same time intervals? Offcourse I should have enough resources..
2. I have around 10 Jobs which runs every 3 minutes, what about if I make 10 different jobs or is it best to encapsulate in one SP, and run it through one Job...?

Thanks in advance.


SKR

tkizer
Almighty SQL Goddess

USA
36907 Posts

Posted - 08/01/2007 :  16:52:25  Show Profile  Visit tkizer's Homepage  Reply with Quote
1. Yes they all run separately.
2. It depends. We don't have enough details in order to give you a definitive answer.

Tara Kizer
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

rikleo2001
Posting Yak Master

New Zealand
181 Posts

Posted - 08/01/2007 :  16:58:33  Show Profile  Send rikleo2001 a Yahoo! Message  Reply with Quote
Thank you so much Amighty SQL Goddess.
One further and last question.

If my SYSTEM Restarts and normally awaits for Login, in background SQL Services will be started, so all my jobs can still be executed without even login? Sorry about that quicky one, I shoul dhave to to give it a try, but havn't got any extra system with SQL on to restart to test...

Thanks







SKR
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
36907 Posts

Posted - 08/01/2007 :  17:10:01  Show Profile  Visit tkizer's Homepage  Reply with Quote
Jobs use the SQL Server service account. Your system does not need a person logged into the console in order for anything in SQL Server to work.

In fact, we don't have people logged into our consoles. We make them connect to a client machine and work on the SQL Server from there. Our SQL Servers are almost always in a logged off state unless we are doing maintenance on them such as installations.

Tara Kizer
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

rikleo2001
Posting Yak Master

New Zealand
181 Posts

Posted - 08/01/2007 :  17:36:11  Show Profile  Send rikleo2001 a Yahoo! Message  Reply with Quote
GREAT.. Thanks a lot..I got my complete answers.....Thanks again

SKR
Go to Top of Page

rmiao
Flowing Fount of Yak Knowledge

USA
7266 Posts

Posted - 08/01/2007 :  23:14:00  Show Profile  Reply with Quote
Sql agent has it's own worker threads (default value is around 20), you'll get error if run more jobs concurrently than worker threads. concurrently
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000