|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 9:03 PM
Points: 141,
Visits: 258
|
|
I'm using Sql Server 2005.
When i tried to compile a stored procedure i got the below message
The transaction log for database 'CDGSYSNCV' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases
and when i ran the query below
select log_reuse_wait_desc, * from sys.databases where name ='CDGSYSNCV'
and found the log_reuse_wait_desc as 'LOG_BACKUP'
when i checked here at http://msdn.microsoft.com/en-us/library/ms178534.aspx
i found a note - If the reason is LOG_BACKUP, it may take two backups to actually free the space.
So what should i do. Can anyone help me on this as i don't have control over backup process at my office.
Thanks
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 5:53 AM
Points: 5,204,
Visits: 11,158
|
|
what is the recovery model used on the database? When running in full recovery you must ensure you have transactioon log backups in place to truncate the inactive portions of the log.
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs"
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 9:03 PM
Points: 141,
Visits: 258
|
|
Hi,
The recovery model is FULL
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 5:53 AM
Points: 5,204,
Visits: 11,158
|
|
S-322532 (9/11/2012) Hi,
The recovery model is FULL Do you have transaction log backups in force for this database either via scripts or a maintenance plan?
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs"
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 9:03 PM
Points: 141,
Visits: 258
|
|
Hi Perry,
Yes, we have. Kindly tell me what should i do ?
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 5:53 AM
Points: 5,204,
Visits: 11,158
|
|
S-322532 (9/11/2012) Hi Perry,
Yes, we have. Kindly tell me what should i do ? Ensure that it is running successfully, check the job history to ensure it doesnt fail.
A common problem I have seen is the log backup job fails due to lack of space on the backup drive
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs"
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 3:28 PM
Points: 37,730,
Visits: 29,996
|
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 9:03 PM
Points: 141,
Visits: 258
|
|
|
|
|