Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Backup of msdb stuck in rollback Expand / Collapse
Author
Message
Posted Tuesday, October 8, 2013 10:02 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, July 25, 2014 3:41 PM
Points: 141, Visits: 189
A native full backup of msdb and a Tlog backup on a SQL Server 2005 Enterprise instance (9.0.4053) deployed on a two-node Win2K3 cluster (Microsoft Windows NT 5.2 (3790)) are currently stuck in rollback.

The msdb DB is in Simple recovery mode but the Tlog is full. The user DB is in full recovery mode. Attempts to add secondary Tlogs are failing due to a 3023 error (regarding the action needing to be serialized).

Options I'm considering are moving non DB files off the volume to allow for autogrow of the Tlog and instance restart. I've tried changing the state of the DB from multi-user to single-user but the SPID stuck in rollback is blocking. SPID 126 is the session in question below.

Are there other options I can consider?

session_id	status	blocking_session_id	wait_type	wait_time	wait_resource	transaction_id
1098 suspended 0 TRACEWRITE 828 25828712297
100 suspended 0 WAITFOR 687 0
116 suspended 0 WAITFOR 1031 0
126 suspended 0 BACKUPTHREAD 1611623843 0
201 suspended 441 LCK_M_U 736093 DATABASE: 15 [BULKOP_BACKUP_LOG] 0
249 suspended 0 TRACEWRITE 62 41659048209
323 suspended 0 WAITFOR 1625 0
418 suspended 0 PAGEIOLATCH_SH 0 18:1:2809411 43527231806
441 suspended 0 BACKUPTHREAD 1307928843 0
500 suspended 0 TRACEWRITE 390 43040835468

Post #1502696
Posted Wednesday, October 9, 2013 6:45 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, July 21, 2014 2:56 AM
Points: 2,603, Visits: 2,061
I am not sure why backpu is configure like this? msdb is system database and in SIMPLE recovery mode. But you are taking FULL and TLOG backup for the database. Can you remove TLOG backup of MSDB database and try?

---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
Post #1503070
Posted Wednesday, October 9, 2013 7:10 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, July 18, 2014 5:57 AM
Points: 330, Visits: 700
you should never backup tlogs of databases in simple recovery mode.

if you are using a T-sql script to do the backup , I suggest you exclude db's with simple recovery mode

Select name From master.sys.databases
where recovery_model <> 3



SQL 2005/2008 DBA - MCTS/MCITP
Post #1503079
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse