Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Why can I never kill blocks?
Periodically we get blocks in our DB. I don't really care, it happens rarely
enough that manual intervention is fine. However, the manual intervention
doesn't work.

I do what seems obvious: go into Enterprise Manager, find the blocking
process, and attempt to kill it. But nothing ever happens. It just sits
there, blocking, forever. The only solution is to restart the server.

Does anyone know why Kill doens't work? Before you say it might be doing an
expensive rollback or something like that, I will point out that every time
I've looked at it, the T-SQL is a trivial read-only query that normally
completes in a millisecond or so. There's nothing to rollback, commit, or
anything else.

Maury


Report this thread to moderator Post Follow-up to this message
Old Post
Maury Markowitz
04-06-06 04:24 PM


Re: Why can I never kill blocks?
Maury,

What is the source of the read-only query?  If it is a service running
behind, you will need to stop the service.  Otherwise, it will keep
opening the connection regardless of how many times you kill it.

For example, one of my 3rd party application has a daemon running
against the db (when users submit jobs, the daemon then kick off
matching processes).  I will need to stop the daemon/service before I
can restore the db.

Hope this helps.

Mel


Report this thread to moderator Post Follow-up to this message
Old Post
MSLam
04-06-06 04:24 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 07:25 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006