Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

SQL 2012 Always ON and Logs Truncade

Hello ,


I have an Always ON SQL 2012 Cluster and i want to ask a few thigs about log truncation .

First of all my logs are getting huge. Database is about 300 MB and logs are about 150 GB .

So i install DPM 2012 R2 and im now taking backup the database. After each backup synchronization i was waiting for log truncating but this never happen . Am i doing something wrong ?

Thanks
0
Anestis Psomas
Asked:
Anestis Psomas
1 Solution
 
JimFiveCommented:
The log files do not automatically shrink, but since you are taking backups they should stop growing.  In order to reduce the size of the log files you will need to run a dbcc shrinkfile command.  This can have consequences so you should read up on how to use the command and whether you should use it in your situation.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now