Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL Agent Job Hangs Expand / Collapse
Author
Message
Posted Thursday, September 6, 2012 1:16 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, March 22, 2013 11:25 AM
Points: 4, 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
Post #1355583
Posted Thursday, September 6, 2012 1:32 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Saturday, August 23, 2014 8:34 AM
Points: 7,097, Visits: 12,601
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
Post #1355592
Posted Thursday, September 6, 2012 5:32 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, March 22, 2013 11:25 AM
Points: 4, 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 :-(
Post #1355669
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse