Skip to content
  • Training
  • Consulting
  • First Responder Kit
  • Blog
    • Popular Topics
    • Well, Actually...
  • Videos
  • Log In
Newsletter

Maintenance: Shrinking Files

When you’ve got a lot of empty space inside a database, you can use DBCC SHRINKDB or SHRINKFILE in order to downsize the file and free up space on your drives. But should you? I’ll explain how those commands work, why they make performance worse, and give you alternatives.

DBA Fundamentals: Maintenance: Shrinking Files

Maintenance: Patches: Which Ones to Apply, When, and How

In this class

Fundamentals of Database Administration
  • Backups 1: 3 Common Strategies
  • Backups 2: Restores
  • Backups 3: Setting Up Maintenance Plans
  • Backups 4: Setting Up Ola Hallengren’s Maintenance Scripts
  • Backups: Reading from Databases During Restores
  • Configuration: Anti-Virus
  • Configuration: Instant File Initialization
  • Configuration: Lock Pages in Memory (LPIM)
  • Configuration: Prepare for Emergencies with the Remote DAC
  • Configuration: Sending Emails with Database Mail
  • Configuration: sp_configure Settings
  • Configuration: TempDB Files and Sizes
  • Corruption 1: How it Happens, and How to Detect It
  • Corruption 2: DBCC CHECKDB for VLDBs
  • Maintenance: Agent Jobs
  • Maintenance: Patches: Which Ones to Apply, When, and How
  • Maintenance: Shrinking Files

SQL Server training, consulting, and thousands of pages of free help.

Get the newsletter

Training

  • Live classes
  • Recorded classes
  • Corporate training
  • Log In

Free Help

  • First Responder Kit
  • Blog
  • Videos
  • Newsletter

Company

  • Consulting
  • About
  • Contact
© Brent Ozar Unlimited®. All rights reserved. · Privacy