SQL Transction Log Not Truncating

My Transaction log is 10 times the size of my database.  I'm doing a separate backup of the transaction log only after a full backup but the log refuses to truncate.   How can I force the log to truncate?

Thanks
chasmx1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rajkumar GsSoftware EngineerCommented:
Follow these steps
 
1. Execute this command against your database
 
Dump transaction <<your dbname>> with no_log
 
2. Right-Click database - Shrink Files - Select 'Reorganize pages before releasing usused space' - Enter 'Shrink File to ' - 5 - Click OK

Please let me know the status.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Guy Hengel [angelIII / a3]Billing EngineerCommented:
note that transaction log backups should not be done once per day, after a full backup, but something like once per hour of even more frequently.

what you are seeing is the result of just doing 1 log backup, presumably.
0
dchortonCommented:
If you look at the properties of the database on the FILE area, what is the initial size of the transaction log? THe shrink will not reduce it smaller than the initial size that is listed.
When i have encountered this, i have been forced to detach the database, rename the LDF file to something else (like XDF) and then attach the database - SQL will automatically create a new log file that is the minumim size of a file allowed.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.