Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 SQL AGENT JOBS

Author  Topic 

rikleo2001
Posting Yak Master

185 Posts

Posted - 2007-08-01 : 16:46:59
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

38200 Posts

Posted - 2007-08-01 : 16:52:25
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

185 Posts

Posted - 2007-08-01 : 16:58:33
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

38200 Posts

Posted - 2007-08-01 : 17:10:01
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

185 Posts

Posted - 2007-08-01 : 17:36:11
GREAT.. Thanks a lot..I got my complete answers.....Thanks again

SKR
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-08-01 : 23:14:00
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
   

- Advertisement -