Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Shrink database goes to suspended Expand / Collapse
Author
Message
Posted Saturday, July 6, 2013 10:54 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, June 16, 2014 6:55 AM
Points: 54, Visits: 555
Hi friends,

I have sql server 2008 R2 enterprise database. I have compressed tables and then created indexes for the same table. Then compressed the same indexes on that table. When am trying to shrink that database, the session is continously in suspended state. After 2 days even 100 MB is not shrunk. Now the available free space of the database is 600 GB. Kindly guide me how to get rid off this issue.

Thanks in advance.
Post #1470927
Posted Saturday, July 6, 2013 1:00 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 9:36 AM
Points: 42,765, Visits: 35,863
Suspended means it's waiting for something. Check what the shrink is waiting for.


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1470933
Posted Saturday, July 6, 2013 1:43 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, June 16, 2014 6:55 AM
Points: 54, Visits: 555
Hi Friends,

Nothing is running in the server other than shrinking, as its weekend we have stopped our applications & we have even restarted server for the activity. Eventhough it didn't help. Is there any other way to find why its suspended.

We are having 64 GB RAM, we are using SQL server 2008 R2 Enterprise Edition SP2.
OS : Windows server 2008 R2

Kindly guide what can I do further.

Thanks in advance.
Post #1470935
Posted Saturday, July 6, 2013 2:23 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 9:36 AM
Points: 42,765, Visits: 35,863
Check what wait type the shrink process has. It's a SQL Server process, it'll show in the DMVs like any other running session and a suspended status just means that it's waiting for something. Check what its wait type and wait resource are.


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1470939
Posted Saturday, July 6, 2013 2:25 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, June 16, 2014 6:55 AM
Points: 54, Visits: 555
Hi Friends,

Thanks. After dropping indexes, shrinking of the database is in runnable state.
Post #1470940
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse