question

Swapnil More avatar image
Swapnil More asked

Shrinking is not completing in SQL Server

Shrinking window gets hanged.

EDIT: This appears to refer to the GUI in SSMS.

sql-server-2005shrink-database
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Have marked this down as this is such an ambiguous question. What exactly do you mean by window? WHICH window?
0 Likes 0 ·
RickD avatar image
RickD answered

Have marked this down as this is such an ambiguous question. What exactly do you mean by window? WHICH window?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Peso avatar image
Peso answered

Shrinking can take a very long time to complete. Everything from a few minutes to a day and more.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

graz avatar image
graz answered

Shrinking can be a very time consuming process. I script out the shrink command and run in it as a T-SQL script rather than using the GUI. It can be stopped in the middle of shrinking without causing a problem.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.