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 ...

Get Microsoft® SQL Server 2012 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.