Solved

How do I flush old sql process

Posted on 2006-11-11
3
583 Views
Last Modified: 2007-12-19
Hi,
I'd killed sql process for backup

Kill 55 and its showing me the rollback completed as below:

SPID 55: transaction rollback in progress. Estimated rollback completion: 100%. Estimated time remaining: 0 seconds.

however when I executing the backup job again, the new backup get block by above process where spid55 is the blocker.

I run the sp_who2 and guve me results in sql process, why this process id not disappear in my sql server and how do I get this clear from there?

55         RUNNABLE                            NT AUTHORITY\SYSTEM      ETRTXC        .        TestReports      KILLED/ROLLBACK      528469      5864087      11/10 20:38:58      NetWorker Module for Microsoft (R) SQL Server      55  


and dbcc opentran still showing me this above process is active

Transaction information for database 'ETRTXC'.

Oldest active transaction:
    SPID (server process ID) : 55
    UID (user ID) : 1
    Name          : ClearChangeBits
    LSN           : (2418071:490082:1)
    Start time    : Nov 10 2006  8:38:58:453PM
DBCC execution completed. If DBCC printed error messages, contact your system administrator.
0
Comment
Question by:motioneye
  • 2
3 Comments
 
LVL 11

Expert Comment

by:MacNuttin
ID: 17924996
Be careful this might be EMC NetWorker Module for Microsoft SQL Server provides fast online backup and restore for Microsoft® SQL Server databases, ensuring availability of mission-critical application data.
0
 

Author Comment

by:motioneye
ID: 17925260
Hi MacNuttin
What u mean here??? is that mean I have to let the process disappear by them self?
0
 
LVL 11

Accepted Solution

by:
MacNuttin earned 500 total points
ID: 17925365
No I'm saying figure out what this app is thats got the open transaction - then maybe kill the app

If a regular user has an open SPID that won't clear I tell them to log out. Then I kill the SPID.

You've got an app that may be ensuring availability of mission-critical application data....that has to be stopped before you kill the SPID
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now