I cant reduce PRIMARY filegroup size even when empty

  • Hi All,

    I am trying to reduce the size of my database and noticed that the primary filegroup is taking almost 120GB, even though it has no objects on it apart from the normal system tables.

    I am not sure if system tables can take up to 120GB, If i try to shink the file and empty it, the file never goes below the 120GB size and IF i run dbcc shrinkfile(1,emptyfile)

    I get the error

    Msg 2556, Level 16, State 1, Line 1

    There is insufficient space in the filegroup to complete the emptyfile operation.

    Can anyone help here

  • I am not sure that you can use EmptyFile option on Primary filegroup.

  • I don't think you can reduce the size below it's initial size.

    You can move the data by moving the clustered index if there are tables in there.

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

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