SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Agent Job Hangs


SQL Agent Job Hangs

Author
Message
navis59
navis59
SSC Rookie
SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)

Group: General Forum Members
Points: 28 Visits: 16
Hi All,
I tried to run a job which pulls approx. 90 GB of data. When I saw it stuck for 7 hrs at one step I tried to stop it. I don't see it running on my screen but my DBA told that it's still under cancelling mode on server. It has locked my table. Don't know what to do? I am using SQL Server 2008 R2
Orlando Colamatteo
Orlando Colamatteo
SSC-Dedicated
SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)

Group: General Forum Members
Points: 39178 Visits: 14411
Chances are the transaction is rolling back. You'll just have to wait for it. 90 GB is a fair bit of data. Sometimes it can take significantly longer to roll back a transaction than the time it took to get it into that state. Is this happening in a test environment? If so and you do not care about the database at all you can have the DBA forcefully remove the database from the instance and just start over to save a little time.

By the way, you posted in a SQL 2000 forum but said you are on SQL 2008 R2. Click the Forums link in the left nav to see the list of forums on this site. There are several for SQL 2008 that are more suited for future questions relating to the system you're on.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
navis59
navis59
SSC Rookie
SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)

Group: General Forum Members
Points: 28 Visits: 16
Thanks for your reply! Appreciate it. New to this site but will keep that tip in mind. Yeah right now I am waiting on it to rollback :-(
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