Maintenance Plan and Ghost SPIDs
From: Bill Lucas (Homebrew42_at_hotmail.ccom)
Date: 05/24/04
- Next message: Randy: "Re: Editable View"
- Previous message: Gregory A. Larsen: "Re: Identifying character as digit, alpha, etc."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 24 May 2004 12:44:07 -0400
Came in to work this morning and noticed one of our servers maintenance
plans had failed... Checked the log noticed that the integrity checks could
not be performed because a database could not be placed in single user
mode...
went and tried to put that database in single user mode manually and told I
wasn't allowed while there were still connections to that database.. Ok
Fair enough, but confusing.
I did an SP_Who and could not find one connection into the Troublesome
database. Which makes since because we have a job that fires at 8:30 in the
evening which kills any connections to the server that may have been left
open accidentally.
Went back and tried to put the database into single user mode and it still
failed complaining of open connections. Finally opened up Enterprise
Manager and tried to right click detach the database... It complained of 3
users connected. Went and checked the process info in EM and still could
not find any open connections.
Went back and detached the database via EM and told it to kill the
connections and it detached the database. Re ran the jobs that contained
the maintenance plans and everything went fine.
Can anyone tell me what happened? I couldn't find these connections EM was
complaining about anywhere...
Any info would be appreciated so I can try to prevent this in the future...
Regards,
Bill
- Next message: Randy: "Re: Editable View"
- Previous message: Gregory A. Larsen: "Re: Identifying character as digit, alpha, etc."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|