Solved

How do I flush old sql process

Posted on 2006-11-11
3
581 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Help with SQL Query 23 39
SQL JOIN 6 37
Data to display differently-SQL Server 4 19
Sql query to Stored Procedure 6 20
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 …
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

759 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

18 Experts available now in Live!

Get 1:1 Help Now