question

Chandoo5599 avatar image
Chandoo5599 asked

Killing a shrinking dbfile process

Hi,

I have a db with a mdf and ldf. And the mdf file size is around 350 gba and nearly 60% of its having free space and occupied the complete drive. Someone from our team had modified the filegrowth parameters from standard set by us. Now we had started the shrinking of mdf file from gui. Shrink process is running for the past 18 hours and its completed only 60%. If I kill the shrink process now will it have any impact on my database. Please resond asap.

Thanks ChandraMohan

shrink-database
10 |1200

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

1 Answer

·
Matt Whitfield avatar image
Matt Whitfield answered

Yes, it's safe to kill it.

But why would you want to shrink it anyway? There's certainly no problem in having lots of free space in your data file.

4 comments
10 |1200

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

Matt Whitfield avatar image Matt Whitfield ♦♦ commented ·
@Fatherjack - I'm from the old school whereby database drives should be for databases - certainly no place for backups and definitely not the O/S... other DBs though... could be...
1 Like 1 ·
Chandoo5599 avatar image Chandoo5599 commented ·
does it require any downtime for the db
0 Likes 0 ·
Fatherjack avatar image Fatherjack ♦♦ commented ·
@Matt - sort of depends on what else needs the drive - OS, backups, other dbs ... ?
0 Likes 0 ·
Fatherjack avatar image Fatherjack ♦♦ commented ·
@Matt, certainly with you on that but was expecting the worst!
0 Likes 0 ·

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.