Solved

SQL Maintenance Plan

Posted on 2016-11-28
3
51 Views
Last Modified: 2016-11-28
Have a database that had some authentication issues this weekend and caused transaction log to fill up, currently not a maintenance plan on this 2008R2 SQL server, was going to setup but was wondering should i shrink the database first to clear the logs or will maintenance plan do that on first full backup?
0
Comment
Question by:leadtheway
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 41904590
You should not clear the logs before backup, they should be cleared when backing up. If you don't care about your logs, change your recovery model to simple.
0
 
LVL 1

Author Comment

by:leadtheway
ID: 41904682
Should i do a different task for each DB or just put them together on same job?
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 41904684
it is your choice. If the job combining them all together does not take too long, I usually bundle them all in a single job
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question