May 4, 2015 at 7:52 am
I have a SQL Server 2000 Database. 30+ GB with a 15+GB log file.
I attempted to backup the Database and I receive the following error:
Server: Msg 9001, Level 21, State 1, Line 1
The log for database 'MYDB' is not available.
I then checked the Activity log and I see a System process associated with this Database:
Process ID 5
Command: autoshrink
Wait Type: LOGBUFFER
WaitTime: 76153109
Memory usage: 3
Physical I/O: 181
Cannot kill this SPID as it is a System process (receive this error:)
Server: Msg 6107, Level 14, State 1, Line 1
Only user processes can be killed.
Can anyone help with this?
May 4, 2015 at 8:51 am
Jpotucek (5/4/2015)
I have a SQL Server 2000 Database. 30+ GB with a 15+GB log file.
I attempted to backup the Database and I receive the following error:
Server: Msg 9001, Level 21, State 1, Line 1
The log for database 'MYDB' is not available.
I then checked the Activity log and I see a System process associated with this Database:
Process ID 5
Command: autoshrink
Wait Type: LOGBUFFER
WaitTime: 76153109
Memory usage: 3
Physical I/O: 181
Cannot kill this SPID as it is a System process (receive this error:)
Server: Msg 6107, Level 14, State 1, Line 1
Only user processes can be killed.
Can anyone help with this?
You'll need to wait for the autoshrink to complete. As an important sidebar, you need to find out what is doing the autoshrink and have it stop doing that. It's fragging the hell out of your files and data and is consider by everyone I know including the guy that wrote it to be one of the absolute worst practices there is for SQL Server.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2015 at 9:05 am
duly noted about the autoshrink being a bad practice. Thank you!
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply