|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Thursday, June 13, 2013 8:57 PM
Points: 66,
Visits: 209
|
|
Hi,
I have a database in SIMPLE recovery model and the log file size is approx 30GB (99% free). I am not able to find any open transactions or orphaned transactions.
The transaction log file does not go down even after database full backup is completed. The database has 2 data files and 1 log file.
sp_helpfile for the database shows the below results
name fileid filename filegroup size maxsize growth usage DB1_Data 1 x:\Data\DB1_Data.MDF PRIMARY 39000960 Unlimited 10% data only DB1_Log 2 x:\Data\DB1Lob_Data.MDF NULL 30864960 2147483648 10% log only DB1Lob_Data 3 y:\Log\DB1_Log.LDF PRIMARY_LOBS 1437888 Unlimited 10% data only
The DB1_Log (Tlog file) has the data file mapped to it and the DB1Lob_Data (Secondary Data file) has the log file mapped to it.
Could this be the reason why the log file is not releasing space? Any clarification on this is much appreciated.
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Today @ 5:07 AM
Points: 327,
Visits: 532
|
|
Mohammed Imran Ali (12/11/2012)
The transaction log file does not go down even after database full backup is completed
Full database backup will not reduce Tlog size.
Have you verified the status of VLF's? Post the result of DBCC Loginfo(Yourdatabasename).
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 1:12 PM
Points: 38,062,
Visits: 30,355
|
|
Mohammed Imran Ali (12/11/2012) Could this be the reason why the log file is not releasing space? Any clarification on this is much appreciated.
The only thing that releases space back to the OS is a shrink file. Nothing else reduces the size of the physical file.
Since the log file is 99% free space, log reuse is working properly and there's no problems here, nothing to be concerned about.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|