Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Performance for SQL Jobs


Performance for SQL Jobs

Author
Message
arjun.kumar
arjun.kumar
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 44
Hi All,

One job is taking more time its nearly 10Hrs. This job update all the indexes in the database. DB size is 25GB, daily it will insert 10L records nearly. Due to this job remaining job getting failed daily.

Can anyone let me know that how to perform any tunning on this job to complete less than 5 Hrs. Is this possible??

Quick reponse will be appreciated.
MadAdmin
MadAdmin
Mr or Mrs. 500
Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)Mr or Mrs. 500 (579 reputation)

Group: General Forum Members
Points: 579 Visits: 1915
When you say 'update' do you mean rebuild or reorganize or is there a fragmentation level that your maintenance plan uses to decide whether to rebuild or reorganize.

If you are using the built in maintenance stuff, I would recommend the Ola Hallingren indexoptimise script as it will rebuild or reorganize or do nothing depending on logical fragmentation levels.

Could be you are explicitly rebuilding everything but you really only need a reorganize and an occasional index rebuild since it is running daily.

http://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html

Catch-all queries done right
Gail Shaw's Performance Blog
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search