New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Check - warn if there is not enough disk space for a file to grow #320

michalporeba opened this Issue Feb 26, 2018 · 3 comments


None yet
4 participants
Copy link

michalporeba commented Feb 26, 2018

Especially with big file growth increments it is possible that there is still space in the file, but there is not enough space on the file for the next increment.

Arguably this may be covered by simply checking the disk space but that is asumming that everythign is fine. I have just started a new job and I'm in situation where there is less disk space than I'd like. If I wanted to have 20% or even 10% of disk space free I'd constantly see red. While the hardware is sorted out I'd like to be able to at least make sure no database will fill up if it is at all avoidable.


This comment has been minimized.

Copy link

potatoqualitee commented Feb 26, 2018

LOVE, yes please!


This comment has been minimized.

Copy link

SQLDBAWithABeard commented Feb 27, 2018

This is an excellent test


This comment has been minimized.

Copy link

wsmelton commented Mar 4, 2018

The Get-DbaDatabaseFile command would have all properties that are needed for this check. ref.

Properties I'd expect would be of use:

  • Database
  • NextGrowthEventSize
  • VolumeFreeSpace

fatherjack added a commit to fatherjack/dbachecks that referenced this issue Mar 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment