Aug 13, 2003 #1 mtawk Programmer Nov 6, 2001 26 IQ I have a job which is taking all the resources of the SQL server and slowing it down for the users. Is there a way I could limit the server resources given for the execution of this job ?
I have a job which is taking all the resources of the SQL server and slowing it down for the users. Is there a way I could limit the server resources given for the execution of this job ?
Aug 13, 2003 #2 pgtek Programmer Sep 28, 2001 1,180 CA hi do you have an other server where you can run your job? we have a developement server and a production server pgtek Upvote 0 Downvote
hi do you have an other server where you can run your job? we have a developement server and a production server pgtek
Aug 13, 2003 #3 SQLSister Programmer Jun 18, 2002 7,292 US Several things to do First schedule this job for off hours if possible. Second, what is the job, maybe you are not doing it very efficiently and the time it takes to run can be substantially improved. Upvote 0 Downvote
Several things to do First schedule this job for off hours if possible. Second, what is the job, maybe you are not doing it very efficiently and the time it takes to run can be substantially improved.
Aug 13, 2003 Thread starter #4 mtawk Programmer Nov 6, 2001 26 IQ The job is on the production server. The job is actually a process of transferring a big amount of data from SQL server to AS400 DB server via linked server. This process is taking all the SQL server resources, I want it to work with lower resources on a longer period of time. Upvote 0 Downvote
The job is on the production server. The job is actually a process of transferring a big amount of data from SQL server to AS400 DB server via linked server. This process is taking all the SQL server resources, I want it to work with lower resources on a longer period of time.
Aug 18, 2003 #5 SQLSister Programmer Jun 18, 2002 7,292 US You could consider doing the data transfer in batches, that should prevent the server from staying too tied up. see the following FAQ for information on batches: How to Use Batch Size to Speed Mass Updates, Inserts and Deletes faq183-3141 Upvote 0 Downvote
You could consider doing the data transfer in batches, that should prevent the server from staying too tied up. see the following FAQ for information on batches: How to Use Batch Size to Speed Mass Updates, Inserts and Deletes faq183-3141