maintenance plans ran out of sequence

Posted on 2012-03-10
Last Modified: 2013-03-04
We have several maintenance plans that should run in this order each Saturday night
3.Alter index reorganize
4.Alter index rebuild

I changed the schedules so they wouldn't overlap. As a result, shrinkDBCC and Alter index reorganize did not run before Alter index rebuild and the backup ran. Our mdf is now 13GB whereas it used to be 11GB. The backup file is 11GB. We use a simple backup.

Has this caused a problem? What steps should I take now?
Question by:dwiseman3
  • 3
  • 2
LVL 25

Accepted Solution

jogos earned 250 total points
ID: 37705682
When backup is 11GB then you have 11GB of data and indexes. If your file is 13GB that means that there is 2GB free space for growth , seems reasonable.

Shrinking dbfiles means
- freeing space on disk to allocate it a few days later again .... fragmentation on disk.
- moving pages in your db around so your tables and indexes are scatered alover the db-file .... fragmentation in your database

With a database that size I think fragmentation is not something you are looking for.

Assisted Solution

sjurus earned 250 total points
ID: 37710493
First, do not use the DBCC Shrink, below the link to an article that explains it nicely:

Second, do the rebuilding and reorganizing indexes in one job,below the link to an article that explains it nicely

Then you can do CHECKDB, below the link to the cool of procedure:

And what is the frequency of backup depends on the requirements of business, below the link to the cool of procedure:
LVL 25

Expert Comment

ID: 37710584
<<As a result, shrinkDBCC and Alter index reorganize did not run before Alter index rebuild and the backup ran. >>
Did they start and didn't end before next started? Or didn't the start at all?
In sql agent you can look at the job-history of the maintenance plan.
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.


Author Comment

ID: 37722002
SHRINKDBCC and ALTER index reorganize did not start at all.
LVL 25

Expert Comment

ID: 37722039
<<SHRINKDBCC and ALTER index reorganize did not start at all.>>
Checked the sql agent job? Is it enabled and next shedulled time is correct?

Author Comment

ID: 37728843

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to SUM hours for the same record 1 33
Impove long SQL Stored Procedure Performance 14 69
Strange msg in the SSMS pane 13 47
If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at

948 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now