O'Reilly logo

Microsoft® SQL Server 2012 Unleashed by Alex T. Silverstein, Chris Gallelli, Paul T. Bertucci, Ray Rankins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Shrinking Databases

The Define Shrink Database Task page of the Maintenance Plan Wizard, shown in Figure 29.6, can be useful for keeping the size of your databases manageable. As its name implies, this task is used to reduce the overall size of a database. This task’s execution is essentially the equivalent to running the DBCC SHRINKDATABASE command, and it contains task options that mirror the options available with the DBCC command.

Image

FIGURE 29.6 The Define Shrink Database Task page of the Maintenance Plan Wizard.

The setting Shrink Database When It Grows Beyond specifies the overall database size that must be exceeded for the shrink operation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required