x
login about faq Site discussion (meta-askssc)

Shrinking is not completing in SQL Server

Shrinking window gets hanged.

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

more ▼

asked Nov 12 '09 at 10:18 AM in Default

Swapnil More gravatar image

Swapnil More
2 1 1 1

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

Nov 12 '09 at 10:26 AM RickD
(comments are locked)
10|1200 characters needed characters left

3 answers: sort voted first

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

more ▼

answered Nov 12 '09 at 10:27 AM

RickD gravatar image

RickD
1.6k 1 1 4

I think OP is doing it via SSMS by selecting the shrinking option from the database

Nov 12 '09 at 10:29 AM Madhivanan
(comments are locked)
10|1200 characters needed characters left

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

more ▼

answered Nov 13 '09 at 06:01 AM

Peso gravatar image

Peso
1.6k 4 6 8

(comments are locked)
10|1200 characters needed characters left

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.

more ▼

answered Nov 13 '09 at 08:25 PM

graz gravatar image

graz ♦
525 2 4 5

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x1834
x33

asked: Nov 12 '09 at 10:18 AM

Seen: 579 times

Last Updated: Nov 13 '09 at 08:26 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.