Unallocated Space

  • Hi All,

    I am trying to free unallocated space on tempdb.

    I am assuming a restart of the sql service would help. Any other alternatives.

    I have tried shrink but it only frees Unused space and not unallocated.

    Thanks,

    Suri

  • ALTER DATABASE tempdb MODIFY FILE...

    followed by restarting sqlserver is the easiest way.

    If your tempdb grew too big, you might consider pre-sizing it big and disabling auto-growth.

  • I am trying to free unallocated space on tempdb.

    May I know why do you want to do that? If you have any issues, following article might help you.

    Troubleshooting Insufficient Disk Space in tempdb

    http://msdn.microsoft.com/en-us/library/ms176029.aspx

    Optimizing tempdb Performance

    http://msdn.microsoft.com/en-us/library/ms175527.aspx

    Capacity Planning for tempdb

    http://msdn.microsoft.com/en-us/library/ms345368.aspx

  • SpringTownDBA (10/14/2011)


    ALTER DATABASE tempdb MODIFY FILE...

    followed by restarting sqlserver is the easiest way.

    If your tempdb grew too big, you might consider pre-sizing it big and disabling auto-growth.

    I do not recommend disabling auto-growth on tempdb. You can size it larger and adjust how it grows, but I would not disable the auto-growth.

    Jared

    Jared
    CE - Microsoft

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply